Sign in Join
FPDoc Onlineexperiment

TShellListView.OnColumnClick property

Member of TShellListViewpublishedIn unit ShellCtrls

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

Declaration

pascal
property OnColumnClick:;

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.

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

See also

  • ColumnClick
  • ColClick
  • AutoSort
  • AutoSortIndicator
  • SortType
  • SortColumn
  • SortDirection
  • Columns
  • TListItem
  • TLVColumnClickEvent

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