From Xojo Documentation

Property (As Boolean )
aListBox.HasHeading = newBooleanValue
BooleanValue = aListBox.HasHeading

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.


The following example shows the Headers row. The code is in the Open event of the control.

Me.HasHeading = True