Sign in Join
FPDoc Onlineexperiment

TCustomListView.OnColumnClick property

Member of TCustomListViewprotectedIn unit ComCtrls

Event handler signalled when a column header for the control is clicked.

Declaration

pascal
property OnColumnClick: TLVColumnClickEvent read FOnColumnClick write FOnColumnClick;

Description

OnColumnClick is a TLVColumnClickEvent property with the event handler signalled when a column header for the list view control has been clicked. OnColumnClick is signalled (when assigned) from the ColClick method when ColumnClick has been enabled for the control.

Arguments passed to the event handler identify the list view control and the TListColumn instance clicked in the control. It is signalled before values in SortType, SortColumn, and SortDirection are checked or updated. It is commonly used to enabled or disable AutoSort or AutoSortIndicator when a specific column is clicked.

See also

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