[Overview][Types][Classes][Procedures and functions][Index] |
Event handler signalled to sort the collection using the data in the collection items.
Source position: comboex.pas line 115
published property TListControlItems.OnCompare : TListCompareEvent |
OnCompare is a TListCompareEvent property with the event handler signalled to sort the collection using the arbitrary data stored in each collection item. Applications must implement and assign an object procedure using the signature in TListCompareEvent to allow responding to the event notification.
OnCompare is signalled in the DoOnCompare method. Set the value in SortType to stData to enable the event handler when the Sort method is called. Use the CustomSort method to sort the collection using a TListItemsCompare routine.
|
Signals the OnCompare event handler to compare items in the collection. |
|
|
Determines the comparison mechanism used for collection items in the Sort method. |
|
|
Performs the Sort routine required for the setting in SortType. |
|
|
Performs a custom sort using the specified routine. |
|
|
Specifies a function type used to compare items in TComboEx. |
|
|
Specifies a function type used to compare items in TComboEx. |
|
|
Alias to the TSortType in ComCtrls.pp |
Version 4.0 | Generated 2025-05-03 | Home |