[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 1434
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 a cell using a given state at the specified grid location (Col, Row, rectangle). |
|
|
Indicates if the default drawing mechanism is used to draw the background for cells. |
|
|
Event handler signalled to draw a cell in the grid control. |
|
|
The drawing style used for the fixed column titles. |