Unit 'MUIClass.List' Package
[Overview][Types][Classes][Index] [#MUIClass]

TCompareEvent

Event type for sorting the list, compare two values of the List

Declaration

Source position: MUIClass.List.pas line 12

type TCompareEvent = function(

  Sender: TObject;

  Entry1: PChar;

  Entry2: PChar

):Integer of object;

Arguments

Sender

  

List which should be sorted

Entry1

  

1st Entry to compare

Entry2

  

2nd Entry to compare

Function result

< 0 if Entry2 is bigger than Entry 1; = 0 if Both are the same, > 0 if Entry1 is bigger than Entry2

See also

List.OnComnpare

  

Event to compare two entries for sorting


Documentation generated on: 2022-07-30