Jump to content

Component: ID component:GdiSwitch: Difference between revisions

From Flowcode Help
Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | MatrixTSL |- | width="20%" style="color:gray;" | Version | 1.0 |- | width="20%" style="color:gray;..."
 
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder""
 
(9 intermediate revisions by 3 users not shown)
Line 17: Line 17:
==Detailed description==
==Detailed description==


''No detailed description exists yet for this component''
Shown here are some of the switches that can be created using the switch primitive.
 
 
[[File:SwitchComp_exampleSwitches.jpg]]


==Examples==
==Examples==


''<span style="color:red;">No additional examples</span>''
''<span style="color:red;">No additional examples</span>''


==Downloadable macro reference==
==Macro reference==


{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| 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%" class="mtx-class-macrohead" | '''GetState'''
|-
|-
| colspan="2" | &nbsp;
| colspan="2" | &nbsp;
Line 38: Line 43:




{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| 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%" class="mtx-class-macrohead" | '''SetState'''
|-
|-
| colspan="2" | &nbsp;
| colspan="2" | &nbsp;
Line 56: Line 61:




{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| 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%" class="mtx-class-macrohead" | '''GetState'''
|-
|-
| colspan="2" | &nbsp;
| colspan="2" | &nbsp;
Line 74: Line 79:




{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| 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%" class="mtx-class-macrohead" | '''SetState'''
|-
|-
| colspan="2" | &nbsp;
| colspan="2" | &nbsp;
Line 96: Line 101:
==Property reference==
==Property reference==


{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
| width="90%" class="mtx-class-macrohead" | '''Properties'''  
|-
|-
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Data
| width="90%" class="mtx-class-propfolder" | Data
|-
|-
|-
|-
Line 111: Line 116:
| colspan="2" | &nbsp;
| colspan="2" | &nbsp;
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Appearance
| width="90%" class="mtx-class-propfolder" | Appearance
|-
|-
|-
|-
Line 160: Line 165:
| colspan="2" | &nbsp;
| colspan="2" | &nbsp;
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Custom Colours
| width="90%" class="mtx-class-propfolder" | Custom Colours
|-
|-
|-
|-
Line 209: Line 214:
| colspan="2" | &nbsp;
| colspan="2" | &nbsp;
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Images
| width="90%" class="mtx-class-propfolder" | Images
|-
|-
|-
|-

Latest revision as of 14:36, 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