From Xojo Documentation
|You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!|
Allows you to get and set the sort column in a DesktopListBox. The first column is numbered zero.
Using this property sets the sort direction indicator in the header.
You can also sort a ListBox by using the SortingColumn property to set the sort column and the ColumnSortDirectionAt property to set the direction of the sort. Then call the Sort method to do the sort.
This code in the Opening event of a DesktopListBox sorts on the first column: