[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Draws the text and image for a grid column title at the specified cell coordinates.
Source position: grids.pas line 1065
protected procedure TCustomGrid.DrawColumnText( |
aCol: Integer; |
aRow: Integer; |
aRect: TRect; |
aState: TGridDrawState |
); virtual; |
aCol |
|
Column number for the column title. |
aRow |
|
Row number for the column title. |
aRect |
|
Rectangle with the bounds for the column title. |
aState |
|
Drawing state for the text in the cell. |
DrawColumnText is a method used to draw the text and image for a grid column title at the cell coordinates specified in ACol and ARow. DrawColumnText calls DrawColumnTitleImage to draw the sort indicator for the column. DrawCellText is called to render the text for the cell using the specified drawing state.
DrawColumnText is called from the DefaultDrawCell method in descendent classes for cells which are fixed column titles.
Version 4.0 | Generated 2025-05-03 | Home |