Table of Contents

TTMSFNCPassLock.OnBeforeDrawButton Event

Occurs before a button is drawn.

API unit family: TMSFNCPassLock Declaring type: TTMSFNCPassLock Inherited from: TTMSFNCCustomPassLock

Syntax

OnBeforeDrawButton: TTMSFNCPassLockBeforeDrawButtonEvent;

Parameters

Name Description
Sender The object that triggered the event.
AGraphics The graphics context used for drawing.
ARect The button drawing rectangle.
AButtonShape The shape used for the button.
AValue The button value being drawn.
AAllow Set to False to skip drawing the button.
ADefaultDraw Set to False to replace the default button drawing.