Sign in Join
FPDoc Onlineexperiment

TOnSelectEvent procedure type

In unit Grids

Specifies an event handler signalled for a selection in a grid control.

Declaration

pascal
TOnSelectEvent = procedure(Sender: TObject; aCol: Integer; 
 aRow: Integer) of object

Arguments

Sender

Control generating the event notification.

aCol

Column number for the selection.

aRow

Row number for the selection.

Description

TOnSelectEvent specifies an event handler signalled when a selection is made in a grid control. TOnSelectEvent is the type used to implement event handler properties in TCustomGrid, including:

  • OnAfterSelection
  • OnBeforeSelection
  • OnButtonClick
  • OnSelection

Applications must implement an object procedure using the signature for the event handler to respond to the event notification.

See also

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