Compare function for key values.
Source position: fgl.pp line 441
public property TFPGMapInterfacedObjectData.OnKeyCompare : TKeyCompareFunc |
OnKeyCompare can be set to a function that compares key values. The default value for this event is a function that compares keys based on a byte-by-byte comparison of the memory block. The function must have the following semantics:
Function signature:
function(const Key1, Key2: TKey): Integer;
|
Compare function for data values. |