JVCL Help:TJvStringGrid.DefaultDrawCell
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvStringGrid.DefaultDrawCell Method
[+] TJvStringGrid Events
[+] TJvStringGrid Methods
[+] TJvStringGrid Properties
Search in JVCL Help
Search in all projectsSummary
Draws the text in a column cell.
Pascal
procedureDefaultDrawCell(AColumn: Longint; ARow: Longint; Rect: TRect; State: TGridDrawState); virtual;
Parameters
Parameters | Description |
AColumn: Longint | Indicates the column index of the cell that should be drawn. |
ARow: Longint | Indicates the row index of the cell that should be drawn. |
Rect: TRect | Indicates the location of the cell on the canvas. |
State: TGridDrawState | Indicates whether the cell has input focus, whether the cell is selected, and whether the cell is a fixed (nonscrolling) cell. |
Description
Call DefaultDrawCell from an OnDrawCell event handler to draw the text in a column cell. If the OnGetCellAlignment event handler is assigned, DefaultDrawCell fires the OnGetCellAlignment event to get the alignment for the text. Otherwise it uses the Alignment property to align the cell text.
See Also
TJvStringGrid.OnGetCellAlignment
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page