Jump to content

Component: ID component:GdiSwitch: Difference between revisions

From Flowcode Help
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable""
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead""
Line 32: Line 32:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetState'''
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetState'''
|-
|-
Line 45: Line 45:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetState'''
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetState'''
|-
|-
Line 63: Line 63:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetState'''
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetState'''
|-
|-
Line 81: Line 81:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetState'''
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetState'''
|-
|-

Revision as of 14:17, 13 July 2026

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