[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
The default method used to draw the cell at the given position using a specific state.
Source position: grids.pas line 1462
public procedure TCustomDrawGrid.DefaultDrawCell( |
aCol: Integer; |
aRow: Integer; |
var aRect: TRect; |
aState: TGridDrawState |
); virtual; |
aCol |
|
Column number for the cell. |
aRow |
|
Row number for the cell. |
aRect |
|
Rectangle with the bounds for the cell. |
aState |
|
Drawing state for the cell. |
DefaultDrawCell is a method which provides the default drawing routine for the cell at the position specified in ACol and ARow. The bounds for the cell are provided in the ARect parameter. AState contains the drawing state for the cell.
DefaultDrawCell handles the following drawing tasks when needed for the specified cell:
DefaultDrawCell is called from the DrawCell method. It is used when the DefaultDrawing property is set to True, and occurs prior to signalling the OnDrawCell event handler (when assigned). It is always called when OnDrawCell has not been assigned.
|
Draws the content for the cell specified in the ACol and ARow arguments. |
|
|
Indicates if the default drawing mechanism is used to draw the background and text for cells. |
|
|
Event handler signalled to draw a cell in the grid control. |
|
|
The drawing style used for the fixed column titles. |
Version 4.0 | Generated 2025-05-03 | Home |