Table of Contents

TTMSFNCRibbonBeforeDrawGroupTextEvent Event Type

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

API unit family: TMSFNCRibbon

Parameters

Name Description
Sender The ribbon control.
AGraphics Graphics context for custom drawing.
AGroup The group whose text is being drawn.
ARect Bounding rectangle of the group text area.
AText The text about to be rendered.
ADefaultDraw Set to False to suppress the default text rendering.