Results 1 to 3 of 3

Thread: [RESOLVED] ListBox Column Width

  1. #1

    Thread Starter
    Fanatic Member Strider's Avatar
    Join Date
    Sep 2004
    Location
    Dublin, Ireland
    Posts
    612

    Resolved [RESOLVED] ListBox Column Width

    Hi there can someone tell me how to set the width of the columns used in a listbox.

    i have a listbox with 6 columns and unsure how to use the .columnwidths thats part of the listbox
    Last edited by Strider; Apr 25th, 2005 at 04:21 AM.
    Barry


    Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
    .NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0

    SQL Server 2005/2000/SQL Server CE 2.0


    If you like, rate this post

    Compact Framework for Beginners

  2. #2
    Hyperactive Member nagasrikanth's Avatar
    Join Date
    Nov 2004
    Location
    India,Hyderabad.
    Posts
    420

    Re: ListBox Column Width

    hi...try this..
    It might work for u (in access)

    Columnwidths : 1.5cm;1.5cm;1.5cm;......

    All the best

    Anurag

  3. #3
    Hyperactive Member nagasrikanth's Avatar
    Join Date
    Nov 2004
    Location
    India,Hyderabad.
    Posts
    420

    Re: ListBox Column Width

    In the code we can use it as

    List2.ColumnWidths = "1.5cm;1.5cm..............1.5cm"


    try it...

    Anurag

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width