FMX.Grid.TGridModel.DoSelectCell

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also