Sign in Join
FPDoc Onlineexperiment

TOnDrawCell procedure type

In unit Grids

Defines the event handler signalled to draw a cell on a grid control.

Declaration

pascal
TOnDrawCell = procedure(Sender: TObject; aCol: Integer; aRow: Integer; 
 aRect: TRect; aState: TGridDrawState) of object

Arguments

Sender

Grid control for the event notification.

aCol

Column number to draw in the event handler.

aRow

Row number to draw in the event handler.

aRect

Rectangle to draw in the event handler.

aState

Grid drawing state used in the event handler.

Description

TOnDrawCell is the type used to implement the OnDrawCell event handler in TCustomGrid.

See also

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