Dynamically Changing the Visibility of Columns of TListView
Posted on 2001-08-06
As I can tell, there is no Visibility property of the TListView Columns (TListColumn).
I need to add the option for configuring the TListview to allow the end user to check which columns they want visible.
How do I implement this feature.
Do I have to clear and recreate the columns each time, and then refill the items?
What I currently do is each time the end user checks on or off a column in the configuration dialog, I clear the list columns create them according to what they checked, and then refill the TListItems.
There has got to be a better way.