Component: Switch ( Control): Difference between revisions
Appearance
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"" |
m Text replacement - "style="background-color:#EAE1EA; color:#4B008D;"" to "class="mtx-class-propfolder"" |
||
| Line 75: | Line 75: | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Behaviour | ||
|- | |- | ||
|- | |- | ||
| Line 104: | Line 104: | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Appearance | ||
|- | |- | ||
|- | |- | ||
| Line 143: | Line 143: | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Font | ||
|- | |- | ||
|- | |- | ||
| Line 207: | Line 207: | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Advanced | ||
|- | |- | ||
|- | |- | ||
Revision as of 14:36, 13 July 2026
| Author | MatrixTSL |
| Version | 1.1 |
| Category | Control |
Switch component
Creates an on/off type toggle switch control.
Version information
Library Version, Component Version, Date, Author, Info 2, 1.0, 17-02-25, ST, Changed generated CSS to ensure visible/disabled switch has appropriate features 3, 1.1, 19-02-26, ST, Added to Ev_Initialise to ensure properties are updated when project loads
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
GetState
| GetState | |
| Returns the current state of the switch | |
| Return | |
SetState
| SetState | |
| Sets the current state of the switch | |
| bState | |
| The state to set (true = on) | |
| Return | |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_WEBEXP_Switch.fcsx
Please click here to view the component source code (Beta): FC_Comp_Source_WEBEXP_Switch.fcsx