[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Indicates the sort mechanism used for items in tree view and list view controls.
Source position: comctrls.pp line 968
type TSortType = ( |
||
stNone, |
|
Sorting is not used for list items. |
stData, |
|
List items are sorted by their data and not their display text. |
stText, |
|
List items are sorted by their display text and not their data. |
stBoth |
|
List items are sorted using both display text and data. |
); |
TSortType is an enumerated type with values indicating the sort mechanism used for items in tree view or list view controls. TSortType is the type used to implement the SortType property in both TCustomTreeView and TCustomListView.
|
Allow to show items sorted: by caption, by Data property or both. |
|
|
Sorts tree nodes using default sort procedure (alphabetic). |
|
|
If True, the external method specified in SortProc is used for sorting. |
|
|
Specifies the sorting mechanism used for the current SortColumn. |
|
|
Sorts the values in Items when SortType is not stNone and SortColumn is valid. |