Vcl.Grids.TCustomDrawGrid.Selection

提供:RAD Studio API Documentation

Delphi

property Selection: TGridRect read GetSelection write SetSelection;

C++

__property Selection;

プロパティ

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

説明

現在選択されている領域の境界を指定します。 {{#multireplace:Vcl.Grids.TCustomDrawGrid.Selection|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} は {{#multireplace:Vcl.Grids.TCustomGrid.Selection|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} を継承しています。以下の内容はすべて {{#multireplace:Vcl.Grids.TCustomGrid.Selection|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} を参照しています。

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

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

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

関連項目