TListColumn.SortIndicator property
Specifies the sort indicator displayed for the column.
Declaration
property SortIndicator: TSortIndicator read FSortIndicator write SetSortIndicator default siNone;Description
SortIndicator is a TSortIndicator property which indicates the sort direction or order for the content displayed in the column. The default value for the property is siNone, and means a sort indicator is not displayed for the column.
Changing the value for the property causes the Changed method to be called to update the column in its Collection. The widgetset class for the list view control is notified of the changed value when its handle has been allocated.
SortIndicator is used in conjunction with the SortColumn, SortType, AutoSort, and AutoSortIndicator properties in TCustomListView. The visual sort indicator is displayed in the column heading when the list view uses vsReport in its ViewStyle property.
Assigning a value other than siNone to the property causes the image in ImageIndex to be removed from the column heading. Nota bene: This is the observed behavior for the Windows platform. Other platforms may vary.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
