LiteDAC

TLiteCollationEvent Procedure Reference

This type is used for the TCustomLiteUserCollation.OnCollate event.

Unit

LiteAccess

Syntax

TLiteCollationEvent = procedure (Sender: TObject; const Str1: string; const Str2: string; var ResultValue: integer) of object;

Parameters
Sender
An object that raised the event.
Str1
The first string to be compared.
Str2
The second string to be compared.
ResultValue
Must return a negative integer value if the first string is less than the second. Zero if strings are equal. Positive if the first string is greater than the second.
© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback