Sign in Join
FPDoc Onlineexperiment

TShellListView.SortColumn property

Member of TShellListViewpublishedIn unit ShellCtrls

Declaration

pascal
property SortColumn: ;

Description

Not described here; this is what TCustomListView.SortColumn says of it:

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

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.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.