ListBox.SortedColumn

From Xojo Documentation

Revision as of 19:20, 18 June 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Property (As Integer )
aListBox.SortedColumn = newIntegerValue
or
IntegerValue = aListBox.SortedColumn

Supported for all project types and targets.

Gets or sets the current sort column but doesn't do the sort. The first column is numbered zero. If no column is sorted then it returns -1. Call the Sort method to sort the ListBox based on the values of SortedColumn and ColumnSortDirection.