Table of Contents

TTMSFNCControl.OnBeforeDraw Event

Fired just before the control paints its background. Set ADefaultDraw to False to take over painting completely.

API unit family: TMSFNCCustomControl Declaring type: TTMSFNCControl Inherited from: TTMSFNCCustomControl

Syntax

OnBeforeDraw: TTMSFNCCustomControlBeforeDrawEvent;

Parameters

Name Description
Sender Object that raises the event.
AGraphics Graphics context used for drawing.
ARect Target drawing rectangle.
ADefaultDraw Set to False to skip the built-in drawing.