Hiding Columns in List View at run time VLWEB
Posted: Thu Jun 29, 2017 3:23 pm
I have the following line of code
#lstStudents.Columns<2>.ColumnVisible := false
This appears to hide the column that is second in the list of column fields by alphabetic order by name not in the displayed sequence.
I can work out which number to put in there but is there a way to achieve by column name so that if I add further columns I don't have to recalculate this value?
#lstStudents.Columns<2>.ColumnVisible := false
This appears to hide the column that is second in the list of column fields by alphabetic order by name not in the displayed sequence.
I can work out which number to put in there but is there a way to achieve by column name so that if I add further columns I don't have to recalculate this value?