From RAD Studio API Documentation
Jump to: navigation, search


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


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


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