Vcl.Grids.TSelectCellEvent

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

Delphi

TSelectCellEvent = procedure (Sender: TObject; ACol, ARow: Longint;
var CanSelect: Boolean) of object;

C++

typedef void __fastcall (__closure *TSelectCellEvent)(System::TObject* Sender, int ACol, int ARow, bool &CanSelect);

プロパティ

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

説明

TSelectCellEvent は、グリッド内のセルが選択される前に発生するイベント ハンドラの型です。

TSelectCellEvent イベント ハンドラを記述すると、グリッド内の特定のセルを選択できるかどうかを指定できます。ACol パラメータおよび ARow パラメータは、選択されようとしているセルの、列および行のインデックスを示します。CanSelect パラメータを False に設定すると、そのセルが選択されないようにできます。

関連項目