FMX.Grid.TGridModel.DoSelectCell
Delphi
procedure DoSelectCell(Col, Row: Integer; var CanSelect: Boolean); virtual;
C++
virtual void __fastcall DoSelectCell(int Col, int Row, bool &CanSelect);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | FMX.Grid.pas FMX.Grid.hpp |
FMX.Grid | TGridModel |
Description
Dispatches the OnSelectCell event.
The model executes DoSelectCell after a call to SelectCell. It is called before a cell is actually selected, and it calls the event handler of OnSelectCell to let it handle the selection. If the event handler of OnSelectCell does not change the value of the Accept
parameter to True
, DoSelectCell performs the cell selection.