From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Boolean )
aDesktopListBox.HasHeader = newBooleanValue
BooleanValue = aDesktopListBox.HasHeader

New in 2021r3

Supported for all project types and targets.

If True, a row of column headers is added to the DesktopListBox. The user can sort the column by clicking the heading if ColumnSortDirectionAt is true not set to None for that column.


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

Me.HasHeader = True