How to hide a column in TListview?

I use listview to store and display data. How can I hide and show a column in a list? Do not tell me to set the column width to 0, please !!!!

+3
source share
1 answer

In Delphi, TListViewyou cannot hide columns in a style style vsReport. The only option is to delete the column when you need to hide it, and create it again when you need to show it.

This is another example of why virtual list views are much more desirable than virtual list views. With the virtual list view, you can insert new columns without having to repeat all the items in the list and re-populate your subitems.

+7
source

All Articles