Skip to main content

Switch

Palette: Form / HTML › Switch and Form / HTML › Toggle Button. Type in the page file: htmlswitch. 33 properties.

Toggle Button is the same object with Display Style set to Toggle button, so a switch can become a button and back. The signal, the write and the command checks are the same in both; see Use a Toggle Button.

Common groups: General, Position, Size, Transform, Animation, Shadow, Glow; see Common properties.

Data​

PropertyFieldValuesDefaultBindableNotes
TagtagSignal——

Appearance​

PropertyFieldValuesDefaultBindableNotes
Light ColoronColorColor#22c55eYes
Closed ColoroffColorColor#d1d5dbYes
Display StyledisplaySlide switch, Toggle buttonSlide switch—
On TextonTextTextONYesShown when Display Style is Toggle button
Off TextoffTextTextOFFYesShown when Display Style is Toggle button
Font SizefontSizeNumber13YesShown when Display Style is Toggle button