[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Specifies an event handler for drawing a cell in a grid control.
Source position: dbgrids.pas line 106
type TDrawColumnCellEvent = procedure( |
Sender: TObject; |
const Rect: TRect; |
DataCol: Integer; |
Column: TColumn; |
State: TGridDrawState |
) of object; |
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. |
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.
|
Event handler signalled when a cell needs to be drawn. |
|
|
DrawCell renders the specified grid cell using the specified drawing state. |
Version 3.2 | Generated 2024-02-25 | Home |