Table of Contents

TTMSFNCDataGridBeforeDrawHeaderGroupLevelEvent Event Type

Fired before a grouping-bar level strip is drawn. Set ACanDraw to False to suppress the default rendering.

API unit family: TMSFNCDataGrid

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 at least one column is grouped at this level.
ACanDraw Set to False to suppress the default strip rendering and paint entirely in this handler.