ListBox.HasHeader
From Xojo Documentation
Property (As Boolean )
aListBox.HasHeader = newBooleanValue
or
BooleanValue = aListBox.HasHeader
New in 2019r2
Supported for all project types and targets.
or
BooleanValue = aListBox.HasHeader
New in 2019r2
Supported for all project types and targets.
If True, a row of column headers is added to the ListBox. The user can sort the column by clicking the heading if ColumnSortDirectionAt is true not set to None for that column.
Example
The following example shows the Headers row. The code is in the Open event of the control.