TCustomListView.OnCompare property
Event handler signalled to compare list items in the CustomSort method.
Declaration
property OnCompare: TLVCompareEvent read FOnCompare write FOnCompare;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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
