Sign in Join
FPDoc Onlineexperiment

TListView.SortColumn property

Member of TListViewpublishedIn unit ComCtrls

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

Declaration

pascal
property SortColumn:;

Description

SortColumn is an Integer property with the ordinal position for the column used to sort the list items for the control. The default value for the property is -1, and indicates that an explicit column position has not been assigned.

Changing the value for the property causes the Sort method to be called.

SortColumn is updated in the ColClick method when a column header for the control has been clicked. It also indicates which entry in Columns has the sort indicator when AutoSortIndicator is enabled.

Values in SortType, SortColumn, and SortDirection are passed to the widgetset class when its Handle is allocated or updated.

This description is the one of ComCtrls.TCustomListView.SortColumn.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.