Table of Contents

TTMSFNCCustomSwitchBeforeDrawSwitchEvent Event Type

Event fired before the switch track is drawn.

API unit family: TMSFNCSwitch

Parameters

Name Description
Sender Switch that raised the event.
AGraphics Graphics context used for drawing.
ARect Switch track rectangle.
ASwitchState Current switch state.
AAllow Set to False to skip all track drawing.
ADefaultDraw Set to False to replace the default track drawing.