Vcl.Grids.TSelectCellEvent
C++
typedef void __fastcall (__closure *TSelectCellEvent)(System::TObject* Sender, int ACol, int ARow, bool &CanSelect);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
typedef | public | 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.