Table of Contents

TTMSFNCCustomControlBeforeDrawEvent Event Type

Signature of the OnBeforeDraw event. Set ADefaultDraw to False to suppress the built-in background painting and handle all drawing yourself.

API unit family: TMSFNCCustomControl

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.