TTMSFNCDataGridBeforeDrawHeaderGroupLevelEvent Event Type
Fired before a nesting-level drop strip is drawn in the visual grouping zone.
API unit family: TMSFNCDataGrid
Remarks
Level strips are only drawn while a column or chip is dragged over the zone and more than one chip exists. When ACanDraw is set to False, the after-draw event is not fired either.
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 level strip about to be drawn. |
ALevel |
Zero-based nesting level of the strip within the grouping bar. |
AActive |
True when the pointer is over this strip, meaning a drop would land on this level. |
ACanDraw |
True by default. Set to False to suppress the default strip rendering and paint entirely in this handler. |