TTMSFNCDataGridBeforeDrawHeaderEvent Event Type
Fired before the header area is drawn.
API unit family: TMSFNCDataGrid
Remarks
Only fires when Header.Visible is True and the header has a non-zero height.
Parameters
| Name | Description |
|---|---|
Sender |
Grid that fired the event. |
AGraphics |
Graphics context to use for custom painting when ACanDraw is set to False. |
ARect |
Bounding rectangle of the header area. |
ACanDraw |
True by default. Set to False to skip the default background, bar and chip drawing (and the after-draw event) and paint entirely in this handler. |