Listbox Column - Visible Property

Show or hide the column

Member of Listbox Column (PRIM_LBCL)

Data Type - Boolean


Visible will return True if the column is visible.


In this example, the columns in a list have been assigned names that indicate whether they belong to basic set of data or the complete set. e.g. #ColumnNameBasic, #ColumnAddressBasic, #ColumnSalary.
Columns without Basic in the name are hidden.
Mthroutine Name(ShowBasicColumns)
   For each(#Column) in(#List.Columns)
      #List.Column.Visible := #Column.Name.Contains("Basic")

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020