Table of Contents

TTMSFNCColorWheel.OnBeforeDrawSelectedColorPanel Event

Fires before the selected-color preview panel is drawn, allowing custom drawing.

API unit family: TMSFNCColorWheel Declaring type: TTMSFNCColorWheel Inherited from: TTMSFNCCustomColorWheel

Syntax

OnBeforeDrawSelectedColorPanel: TTMSFNCCustomColorWheelBeforeDrawSelectedColorPanelEvent;

Parameters

Name Description
Sender Object that triggered the event.
AGraphics Graphics context used for drawing.
ARectF Preview panel rectangle.
ASelectedColor Current selected color.
AAllow Set to False to skip drawing the preview panel.
ADefaultDraw Set to False after custom drawing to suppress the default drawing.