Vcl.Grids.TSelectCellEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
type
typedef
public
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids Vcl.Grids

Description

TSelectCellEvent is the type of the event handlers that occur before a cell in the grid is selected.

Write a TSelectCellEvent event handler to specify whether any particular cell in the grid can be selected. The ACol and ARow parameters indicate the column and row indexes of the cell that is about to be selected. Set the CanSelect parameter to False to prevent the selection of the cell.

See Also