Sign in Join
FPDoc Onlineexperiment

TListView.OnCompare property

Member of TListViewpublishedIn unit ComCtrls

Event handler signalled to compare list items in the CustomSort method.

Declaration

pascal
property OnCompare:;

Description

OnCompare is a TLVCompareEvent property with the event handler signalled to compare the values for list items. Arguments passed to the event handler identify the list view control, the items compared in the handler. The relative sort order for the compared items is returned in a variable parameter passed to the handler.

OnCompare is signalled (when assigned) when the Sort method is called, or when CustomSort is called without specifying a custom sort function.

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

See also

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