Table of Contents

TMS FNC Switch User Guide

TTMSFNCSwitch is an animated toggle control that works like a boolean switch. It supports horizontal and vertical orientations, rounded corners, a simple layout (thumb only) and an extended layout (thumb + on/off text labels), and fully customisable track and thumb appearance for both on and off states.

Topics

Guide Description
Switch Guide State, layout modes, appearance customisation, and theme integration

Key properties

Property Purpose
State ssOn or ssOff — the current toggle state.
Checked Boolean alias for State: True = on, False = off.
Layout sloSimple (thumb only) or sloExtended (thumb + text).
Orientation soHorizontal or soVertical.
Rounded Rounds the track and thumb corners.
AppearanceOn / AppearanceOff Fill and stroke for each state.
ButtonAppearance Thumb appearance.
OnStateChange Fires when the user toggles the switch.

See also