[Overview][Types][Classes][Procedures and functions][Index] |
Specifies a function type used to compare items in TComboEx.
Source position: comboex.pas line 49
type TListItemsCompare = function( |
AList: TListControlItems; |
AItem1: Integer; |
AItem2: Integer |
):Integer; |
AList |
|
Collection with the items compared in the routine. |
AItem1 |
|
Ordinal position for the first item in the comparison. |
AItem2 |
|
Ordinal position for the second item in the comparison. |
Integer with the relative order for the compared values at the specified positions.
TListItemsCompare is an Integer function type used to implement a comparison between the items stored at the specified positions in AList. The return value contains the relative sort order for the compared values, for example:
TListItemsCompare implements the sort operation performed in TListControlItems when its CustomSort method is called.
|
Performs a custom sort using the specified routine. |
|
|
Performs the Sort routine required for the setting in SortType. |
|
|
Determines the comparison mechanism used for collection items in the Sort method. |
|
|
Event handler signalled to sort the collection using the data in the collection items. |
|
|
Implements a comparison function for items in the collection. |
Version 3.2 | Generated 2024-02-25 | Home |