FMX.ListBox.TCustomListBox.SelectRange
Delphi
procedure SelectRange(const Item1, Item2: TListBoxItem);
C++
void __fastcall SelectRange(TListBoxItem* const Item1, TListBoxItem* const Item2);
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 | 
|---|---|---|---|---|
| procedure function | public | FMX.ListBox.pas FMX.ListBox.hpp | FMX.ListBox | TCustomListBox | 
説明
2 つの指定された項目の間にある項目群を、すべて選択します。
SelectRange は、Item1 および Item2 の間にある項目群(Item1 と Item2 も含む)を選択し、それまで選択されていた項目群は選択解除します。
SelectRange は、MultiSelect が True に設定されている場合にのみ機能します。