FMX.ListBox.TCustomListBox.CompareItems

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function CompareItems(const Item1, Item2: TListBoxItem): Integer; virtual;

C++

virtual int __fastcall CompareItems(TListBoxItem* const Item1, TListBoxItem* const Item2);

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function protected
FMX.ListBox.pas
FMX.ListBox.hpp
FMX.ListBox TCustomListBox

Beschreibung

Vergleicht die angegebenen Einträge.

CompareItems vergleicht den Text der angegebenen TListBoxItem-Einträge. Außerdem erzeugt diese Funktion ein OnCompare-Ereignis.

Siehe auch