Vcl.Grids.TCustomDrawGrid.Selection

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

Delphi

property Selection;

C++

__property Selection;

プロパティ

種類 可視性 ソース ユニット
property public
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids TCustomDrawGrid

説明

現在選択されている領域の境界を指定します。

Vcl.Grids.TCustomDrawGrid.Selection は Vcl.Grids.TCustomGrid.Selection を継承しています。以下の内容はすべて Vcl.Grids.TCustomGrid.Selection を参照しています。

現在選択されている領域の境界を指定します。

セルの範囲を選択するには,Selection プロパティを設定します。Selection は,グリッド内の第 1 列,第 1 行,最終列,最終行か,または選択された領域における左上および右下のセルの行および列の座標を表現できます。

Selection は,Options に goRangeSelect が含まれているときは 1 つのセルだけを選択することができなくなり,必ず領域の指定を行わなければならなくなります。

関連項目