Skip to main content
Table of Contents

TTMSFNCSwitch.OnBeforeDrawSwitchButton Event

Fires before the switch thumb is drawn.

API unit family: TMSFNCSwitch Declaring type: TTMSFNCSwitch Inherited from: TTMSFNCCustomSwitch

Syntax

FMX.TMSFNCSwitch.hppPascalC++
OnBeforeDrawSwitchButton: TTMSFNCCustomSwitchBeforeDrawSwitchButtonEvent;
__property TTMSFNCCustomSwitchBeforeDrawSwitchButtonEvent OnBeforeDrawSwitchButton = {read=FOnBeforeDrawSwitchButton, write=FOnBeforeDrawSwitchButton};