Sign in Join
FPDoc Onlineexperiment

TDrawColumnCellEvent procedure type

In unit DBGrids

Specifies an event handler for drawing a cell in a grid control.

Declaration

pascal
TDrawColumnCellEvent = procedure(Sender: TObject; const Rect: TRect; 
 DataCol: Integer; Column: TColumn; 
 State: TGridDrawState) of object

Arguments

Sender

Grid control for the event.

Rect

Canvas rectangle where the cell is drawn.

DataCol

Position of the Field used to get data for the event.

Column

Column definition for the event`

State

Drawing state for the event.

Description

TDrawColumnCellEvent specifies an event handler used to draw a cell in a column for a grid control. TDrawColumnCellEvent is the type used for the OnDrawColumnCell property in TDBGrid, and signalled from its DrawCell method.

See also

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