Vcl.Grids.TCustomDrawGrid.OnSelectCell
Delphi
property OnSelectCell: TSelectCellEvent read FOnSelectCell write FOnSelectCell;
C++
__property TSelectCellEvent OnSelectCell = {read=FOnSelectCell, write=FOnSelectCell};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | protected | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TCustomDrawGrid |
Description
Occurs before a cell in the grid is selected.
Write an OnSelectCell event handler to specify whether any particular cell in the grid can be selected. The Col
and Row
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 cell being selected.
See Also
Code Examples