Component: Switch (Slide, Dashboard) ()

From Flowcode Help
Jump to navigationJump to search
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

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Connections
Fc9-type-5-icon.png Connection
Chip pin to which this switch is connected. 
Fc9-type-16-icon.png Polarity
Sets whether the chip pin is taken high or low by the activation of the switch. 
Fc9-type-14-icon.png 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. 
Fc9-conn-icon.png Simulation
Fc9-type-10-icon.png Text
Text for the label displayed below the switch. 
Fc9-type-3-icon.png Font
Font for the text label below the switch. 
Fc9-type-1-icon.png Label Color
Color of the label text below the switch. 
Fc9-type-1-icon.png Slider Color
Color of the slider (moving part) of the switch. 
Fc9-type-1-icon.png Bezel Color
Color for the bezel surrounding the switch. 
Fc9-type-1-icon.png On Color
Color for the flag exposed when the switch is off (switch to the left) 
Fc9-type-1-icon.png Off Color
Color for the flag revealed when the switch is on (right hand position). 
Fc9-type-16-icon.png Operation
Latching = Mouse click to turn on, click again to trun off. Momentary = Click to turn on, release to turn off.