[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Specifies an event handler signalled when preparing the canvas for a grid control.
Source position: grids.pas line 368
type TOnPrepareCanvasEvent = procedure( |
Sender: TObject; |
aCol: Integer; |
aRow: Integer; |
aState: TGridDrawState |
) of object; |
Sender |
|
Grid control for the event notification. |
aCol |
|
Column number for the cell in the event notification. |
aRow |
|
Row number for the cell in the event notification. |
aState |
|
Grid drawing state for the cell in the event notification. |
TOnPrepareCanvasEvent specifies an event handler signalled when the canvas for a grid control is prepared for rendering. TOnPrepareCanvasEvent allows the canvas for the grid control to be configured prior to rendering cell data.
Sender is the grid control triggering the event notification.
ACol and ARow are the column and row numbers (respectively) for the grid cell in the event notification.
AState contains the grid drawing state for the cell data.
TOnPrepareCanvasEvent is the type used to implement the OnPrepareCanvas in TCustomGrid. Applications must implement an object procedure using the event signature to respond to the event notification.
|
Event handler signalled to prepare the Canvas to draw the grid. |
|
|
Prepares the canvas for drawing the cell at the specified location. |
|
|
Performs actions needed to prepare the canvas for a drawing operation. |
|
|
Draws a cell using a given state at the specified grid location (Col, Row, rectangle). |
|
|
Gets and displays the cell hint(s) for the current cell in the grid. |
Version 3.2 | Generated 2024-02-25 | Home |