Difference between revisions of "Component: RadioButton (Controls )"

From Flowcode Help
Jump to navigationJump to search
 
(2 intermediate revisions by 2 users not shown)
Line 14: Line 14:
 
==RadioButton component==
 
==RadioButton component==
 
A simple radio button component allowing an array of up to 20 on/off type settings.
 
A simple radio button component allowing an array of up to 20 on/off type settings.
 +
 +
==Component Pack==
 +
 +
FREE
  
 
==Detailed description==
 
==Detailed description==
 +
 +
 +
 +
  
  
Line 27: Line 35:
 
==Examples==
 
==Examples==
  
No examples here yet.
+
 
 +
 
 +
 
 +
 
 +
A basic example using two circular knobs to simulate data e.g., temperature.
 +
Both xy chart and Console, log the data.
 +
A radio button is used to start, stop and reset logging.
 +
 
 +
{{Fcfile|Logging_Example.fcsx|Logging Example}}
  
 
==Downloadable macro reference==
 
==Downloadable macro reference==
Line 144: Line 160:
 
|-
 
|-
 
| colspan="2" | Space between text and radio button item. 
 
| colspan="2" | Space between text and radio button item. 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Connections'''
 
|-
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Simulations'''
 
|-
 
 
|}
 
|}

Latest revision as of 17:22, 9 November 2022

Author Matrix TSL
Version 1.0
Category Controls


RadioButton component

A simple radio button component allowing an array of up to 20 on/off type settings.

Component Pack

FREE

Detailed description

No detailed description exists yet for this component

Examples

A basic example using two circular knobs to simulate data e.g., temperature. Both xy chart and Console, log the data. A radio button is used to start, stop and reset logging.

FC6 Icon.png Logging Example

Downloadable macro reference

Fc9-comp-macro.png GetIndex
Gets the current selected index. Returns 1 - NumberOptions 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png Prv_DisplaySelectedItem
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png SetIndex
Sets the selected item. 
Fc9-u8-icon.png - BYTE Index
Range: 1 - Number Options 
Fc9-void-icon.png - VOID Return



Property reference

Fc9-prop-icon.png Properties
Fc9-type-16-icon.png Number Options
 
Fc9-type-16-icon.png Initial Value
 
Fc9-type-11-icon.png Text1
 
Fc9-type-11-icon.png Text2
 
Fc9-type-11-icon.png Text3
 
Fc9-type-12-icon.png Style
 
Fc9-type-1-icon.png Colour
 
Fc9-type-7-icon.png Show Label
 
Fc9-type-1-icon.png Text Colour
 
Fc9-type-15-icon.png Text Scale
 
Fc9-type-15-icon.png Spacing
Space between radio button items 
Fc9-type-15-icon.png Text Spacing
Space between text and radio button item.