Lazarus
Programming => LCL => Topic started by: esdonis on January 20, 2022, 05:24:15 pm
-
how to hide a column in a TListView?
-
how to hide a column in a TListView?
IIRC you can't. Set width to zero or even better delete the column when is not needed. Alternatively you can switch to VST, where hiding a column is a trivial operation.
-
I noticed, at least in the trunk version, that ListView columns now has the boolean property Visible.
Tested with ListView set to ViewStyle vsreport and that works.
-
I noticed, at least in the trunk version, that ListView columns now has the boolean property Visible.
Tested with ListView set to ViewStyle vsreport and that works.
Sets the column width to 0, you can increase the size of the column with the mouse. Just a pseudo solution.