Results 1 to 4 of 4

Thread: listview problem

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Posts
    321

    listview problem

    dear all,

    i have a few columheaders in my listview. How can i make sure that all those columheaders fit nicely into the given space at all times? please help. thanks

  2. #2
    Member Evolute's Avatar
    Join Date
    Sep 2002
    Location
    Portugal
    Posts
    58
    You can specify the Width of each column header in the ListView Properties. This way the space of each column never changes.
    Evolute

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Posts
    321
    the problem is i want it to change whenever the application is being maximised or minimised...

  4. #4
    Member Evolute's Avatar
    Join Date
    Sep 2002
    Location
    Portugal
    Posts
    58
    You can use this propertie to chage the Width value at any time

    listview.ColumnHeaders.Item(index).Width = xxx

    Example:
    listview.ColumnHeaders.Item(1).Width = 500
    Evolute

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