FMX.ListBox.TCustomListBox.CompareItems
Delphi
function CompareItems(const Item1, Item2: TListBoxItem): Integer; virtual;
C++
virtual int __fastcall CompareItems(TListBoxItem* const Item1, TListBoxItem* const Item2);
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| function | protected | FMX.ListBox.pas FMX.ListBox.hpp  | 
        FMX.ListBox | TCustomListBox | 
Description
Compares the given items.
CompareItems compares the text of the given TListBoxItem items. It also generates an OnCompare event.