Table of Contents

TTMSFNCListBox.OnItemCompare Event

Occurs when two items need to be compared during sorting.

API unit family: TMSFNCListBox Declaring type: TTMSFNCListBox Inherited from: TTMSFNCCustomListBox

Syntax

OnItemCompare: TTMSFNCListBoxItemCompareEvent;

Parameters

Name Description
Sender The list box that triggered the event.
Item1 The first item to compare.
Item2 The second item to compare.
ACompareResult The comparison result to return to the sort operation.