FMX.ListBox.TCustomListBox.SelectRange

提供: RAD Studio API Documentation
移動先: 案内検索

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 の間にある項目群(Item1Item2 も含む)を選択し、それまで選択されていた項目群は選択解除します。

SelectRange は、MultiSelectTrue に設定されている場合にのみ機能します。

関連項目