Sign in Join
FPDoc Onlineexperiment

TOnSelectCellEvent procedure type

In unit Grids

Specifies the event handler signalled when a cell is selected in a grid control.

Declaration

pascal
TOnSelectCellEvent = procedure(Sender: TObject; aCol: Integer; 
 aRow: Integer; var CanSelect: Boolean)
 of object

Arguments

Sender

Control for the event notification.

aCol

Column number for the selection notification.

aRow

Row number for the selection notification.

CanSelect

Set to True if the specified cell can be selected.

Description

TOnSelectCellEvent specifies the event handler signalled when a cell is selected in a custom-drawn grid control. TOnSelectCellEvent is the type used to implement the OnSelectCell in TCustomDrawGrid.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.