Sign in Join
FPDoc Onlineexperiment

TListControlItems.CustomSort procedure

Member of TListControlItemspublicIn unit ComboEx

Performs a custom sort using the specified routine.

Declaration

pascal
procedure CustomSort(ACompare: TListItemsCompare)

Arguments

ACompare

Routine used to perform the comparison for the items in the collection.

Description

CustomSort is a procedure used to perform a custom sort for items in the collection using the specified TListItemsCompare routine to implement the comparison. When ACompare is assigned, it is temporarily stored in an internal member and the Sort method is called. No actions are performed in the method when ACompare has not been assigned (contains Nil).

See also

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