Jump to content

Component: Switch (Slide, Dashboard) (): Difference between revisions

From Flowcode Help
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;"" to "width="10%" align="center" class="mtx-class-macrohead""
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder""
 
(2 intermediate revisions by the same user not shown)
Line 74: Line 74:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[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;" | Connections
| width="90%" class="mtx-class-propfolder" | Connections
|-
|-
|-
|-
Line 96: Line 96:
| colspan="2" | Time in milliseconds allowed for the pin to stabilise following a change of state.  NB)  Debouncing is only used when reading the switch state using the component macros.        Chip pins are NOT debounced. 
| colspan="2" | Time in milliseconds allowed for the pin to stabilise following a change of state.  NB)  Debouncing is only used when reading the switch state using the component macros.        Chip pins are NOT debounced. 
|-
|-
| 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;" | Simulation
| width="90%" class="mtx-class-propfolder" | Simulation
|-
|-
|-
|-

Latest revision as of 14:37, 13 July 2026

Author Matrix Ltd
Version 1.1
Category


Switch (Slide, Dashboard) component

Simple latching slide switch using the default Matrix dashboard theme.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_Dashboard_Switch.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_Dashboard_Switch.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples






Macro reference

Property reference

Properties
Connections
Connection
Chip pin to which this switch is connected. 
Polarity
Sets whether the chip pin is taken high or low by the activation of the switch. 
Debounce (ms)
Time in milliseconds allowed for the pin to stabilise following a change of state. NB) Debouncing is only used when reading the switch state using the component macros. Chip pins are NOT debounced. 
Simulation
Text
Text for the label displayed below the switch. 
Font
Font for the text label below the switch. 
Label Color
Color of the label text below the switch. 
Slider Color
Color of the slider (moving part) of the switch. 
Bezel Color
Color for the bezel surrounding the switch. 
On Color
Color for the flag exposed when the switch is off (switch to the left) 
Off Color
Color for the flag revealed when the switch is on (right hand position). 
Operation
Latching = Mouse click to turn on, click again to trun off. Momentary = Click to turn on, release to turn off.