[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TSortDirection

Represents the sort directions used for items in a list view control.

Declaration

Source position: comctrls.pp line 1365

type TSortDirection = (

  sdAscending,

  

Sorts list items in ascending order.

  sdDescending

  

Sorts list items in descending order.

);

See also

TCustomListView.SortDirection

  

Sorting direction (order) for the current SortColumn.

TCustomListView.SortColumn

  

Ordinal position for the column used to sort the list items, or -1 when not assigned.

TCustomListView.Sort

  

Sorts the values in Items when SortType is not stNone and SortColumn is valid.

TCustomListView.AlphaSort

  

Sorts the first column for the list view in ascending order.

TCustomListView.CustomSort

  

Sorts the Items for the list view control using the specified procedure or the OnCompare event handler.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.