TListControlItems.DoOnCompare function
Signals the OnCompare event handler to compare items in the collection.
Declaration
function DoOnCompare(AItem1: TListControlItem; AItem2: TListControlItem)
: IntegerArguments
AItem1 | First TListControlItem for the comparison. |
AItem2 | Second TListControlItem for the comparison. |
Function result
Relative sort order for the compared items.
Description
DoOnCompare is called from the
Sort method when
SortType is set to
stData or
stBoth.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
