Jump to content

Component: On / Off Indicator (Digital Indicator )

From Flowcode Help
Revision as of 14:36, 13 July 2026 by SteveT (talk | contribs) (Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Author Matrix TSL
Version 1.0
Category Digital Indicator


On / Off Indicator component

A simple component to create an on / off type indicator on the panel.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_Indicator.fcsx

Please click here to view the component source code (Beta): FC_Comp_Source_Indicator.fcsx

Detailed description

No detailed description exists yet for this component

Examples

No examples here yet






Macro reference

GetSwitch

GetSwitch
Reads back the status of the indicator 
- BOOL Return


Switch

Switch
Sets the indicator to the value dictated by the State parameter 
- BOOL State
 
- VOID Return


SwitchOff

SwitchOff
Sets the indicator to the Off state. 
- VOID Return


SwitchOn

SwitchOn
Sets the indicator to the On state. 
- VOID Return


Property reference

Properties
Indicator Type
Controls the shape of the indicator object on the panel 
Style
 
On Colour
Colour of the indicator when switched on 
Auto Off Colour
Controls if an off colour is automatically assigned for you. Yes - Generate automatic off colour No - User can set their own off colour 
Off Colour
Colour of the indicator when switched off 
Show Label
 
Label
Text
Text to display 
Text Colour
Specifies the font colour for the item 
Background Colour
Specifies the background colour value 
Font
Specifies the font style for the item 
Scale
 
Bold
 
Placement
 
Spacing
Distance between the label and the indicator