Table of Contents

TTMSFNCRibbonBeforeDrawGroupBackgroundEvent Event Type

Fired before the background of a ribbon group is painted, allowing custom drawing or suppression of the default background.

API unit family: TMSFNCRibbon

Parameters

Name Description
Sender The ribbon control.
AGraphics Graphics context for custom drawing.
AGroup The group being drawn.
ARect Bounding rectangle of the group background.
ADefaultDraw Set to False to suppress the default group background drawing.