FMX.ListBox.TCustomListBox.SelectRange
Delphi
procedure SelectRange(const Item1, Item2: TListBoxItem);
C++
void __fastcall SelectRange(TListBoxItem* const Item1, TListBoxItem* const Item2);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | FMX.ListBox.pas FMX.ListBox.hpp |
FMX.ListBox | TCustomListBox |
Description
Selects all the items between two given items.
SelectRange selects the items between Item1 and Item2 (including Item1 and Item2) and deselects any other previously selected items.
SelectRange works only if MultiSelect is set to True.