ListBox.ColumnSortDirection


Warning

This item was deprecated in version 2019r2. Please use DesktopListBox.ColumnSortDirectionAt as a replacement.

Description

Used to get or set the sort direction for the passed column. The first column is numbered zero.

Notes

Notes==

You set the sort direction using one of the following class constants.

Value

Class Constant

Description

SortDescending

Descending sort

0

SortNone

Dont Sort

1

SortAscending

Ascending sort

Sample code

This example sets the sort direction for a column.

ListBox1.ColumnSortDirection(2) = ListBox.SortDescending

Compatibility

All projects types on all supported operating systems.

See also

ListBox parent class; Sort.