Jump to content

Component: ID component:GdiSwitch

From Flowcode Help
Revision as of 14:21, 13 July 2026 by SteveT (talk | contribs) (Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;"" to "width="10%" align="center" class="mtx-class-macrohead"")
Author MatrixTSL
Version 1.0
Category Creation


Switch component

Detailed description

Shown here are some of the switches that can be created using the switch primitive.


Examples

No additional examples

Macro reference

GetState
 
- BOOL Return


SetState
 
- BOOL State
The new state of the switch (true = on, false = off) 
- NONE Return


GetState
 
- BOOL State
The new state of the switch (true = on, false = off) 
- BOOL Return


SetState
 
- BOOL State
The new state of the switch (true = on, false = off) 
- NONE Return



Property reference

Properties
Data
State
 
Appearance
Style
 
Type
 
Draw Thumb
 
Thumb Filename
 
Animation Time
 
On Label
 
Off Label
 
Font
Specifies the font style for the item 
Font Scale
 
Custom Colours
Outline
 
On Outer Fill
 
Off Outer Fill
 
Thumb Outline
 
Thumb Fill
 
On Fill
 
On Label
 
Off Fill
 
Off Label
 
Images
Image On
 
FilenameOn
 
Image Off
 
FilenameOff