Difference between revisions of "Component: Switch (Slide, Dashboard) ()"
From Flowcode Help
Jump to navigationJump to searchLine 16: | Line 16: | ||
==Component Source Code== | ==Component Source Code== | ||
+ | |||
+ | Please click here to download the component source project: [https://www.flowcode.co.uk/wikicopy/componentsource/FC_Comp_Source_Dashboard_Switch.fcfx FC_Comp_Source_Dashboard_Switch.fcfx] | ||
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_Dashboard_Switch.fcfx FC_Comp_Source_Dashboard_Switch.fcfx] | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_Dashboard_Switch.fcfx FC_Comp_Source_Dashboard_Switch.fcfx] | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 32: | Line 36: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 44: | Line 50: | ||
==Macro reference== | ==Macro reference== | ||
+ | |||
+ | |||
+ | |||
+ | ==Property reference== | ||
+ | |||
+ | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | ||
+ | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
+ | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Connections | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-5-icon.png]] | ||
+ | | width="90%" | Connection | ||
+ | |- | ||
+ | | colspan="2" | Chip pin to which this switch is connected. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | ||
+ | | width="90%" | Polarity | ||
+ | |- | ||
+ | | colspan="2" | Sets whether the chip pin is taken high or low by the activation of the switch. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-14-icon.png]] | ||
+ | | width="90%" | Debounce (ms) | ||
+ | |- | ||
+ | | 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="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-10-icon.png]] | ||
+ | | width="90%" | Text | ||
+ | |- | ||
+ | | colspan="2" | Text for the label displayed below the switch. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-3-icon.png]] | ||
+ | | width="90%" | Font | ||
+ | |- | ||
+ | | colspan="2" | Font for the text label below the switch. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]] | ||
+ | | width="90%" | Label Color | ||
+ | |- | ||
+ | | colspan="2" | Color of the label text below the switch. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]] | ||
+ | | width="90%" | Slider Color | ||
+ | |- | ||
+ | | colspan="2" | Color of the slider (moving part) of the switch. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]] | ||
+ | | width="90%" | Bezel Color | ||
+ | |- | ||
+ | | colspan="2" | Color for the bezel surrounding the switch. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]] | ||
+ | | width="90%" | On Color | ||
+ | |- | ||
+ | | colspan="2" | Color for the flag exposed when the switch is off (switch to the left) | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]] | ||
+ | | width="90%" | Off Color | ||
+ | |- | ||
+ | | colspan="2" | Color for the flag revealed when the switch is on (right hand position). | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | ||
+ | | width="90%" | Operation | ||
+ | |- | ||
+ | | colspan="2" | Latching = Mouse click to turn on, click again to trun off. Momentary = Click to turn on, release to turn off. | ||
+ | |}==Macro reference== | ||
Revision as of 15:21, 20 January 2023
Author | Matrix Ltd |
Version | 1.1 |
Category |
Contents
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
==Macro reference==
Property reference
==Macro reference==