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
Printable View
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
You can specify the Width of each column header in the ListView Properties. This way the space of each column never changes.
the problem is i want it to change whenever the application is being maximised or minimised...
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