Jump to content

Component: Scrollbar control (Controls): Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 17: Line 17:
==Component Source Code==
==Component Source Code==


Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_scrollbar.fcfx FC_Comp_Source_scrollbar.fcfx]
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_temp/scrollbar.fcfx FC_Comp_Source_temp/scrollbar.fcfx]


Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_scrollbar.fcfx FC_Comp_Source_scrollbar.fcfx]
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_temp/scrollbar.fcfx FC_Comp_Source_temp/scrollbar.fcfx]


==Detailed description==
==Detailed description==
Line 82: Line 82:
Here is a basic example of the scope monitor component being used to add traces to the scope window.
Here is a basic example of the scope monitor component being used to add traces to the scope window.
{{Fcfile|ScopeMonitor.fcfx|Scope Monitor Example}}
{{Fcfile|ScopeMonitor.fcfx|Scope Monitor Example}}




Line 103: Line 105:




===SetValue===
===SetInteractive===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetValue'''
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetInteractive'''
|-
|-
| colspan="2" |  
| colspan="2" |  
|-
|-
|-
|-
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL
| width="90%" | Value
| width="90%" | Enable
|-
|-
| colspan="2" |  
| colspan="2" | Set true to allow clicks to set scale 
|-
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] -  
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] -  
Line 122: Line 124:




===SetInteractive===
===SetValue===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetInteractive'''
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetValue'''
|-
|-
| colspan="2" |  
| colspan="2" |  
|-
|-
|-
|-
| width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| width="90%" | Enable
| width="90%" | Value
|-
|-
| colspan="2" | Set true to allow clicks to set scale 
| colspan="2" |  
|-
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] -  
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] -  

Revision as of 12:04, 3 February 2023

Author
Version 1.0
Category Controls


Scrollbar control component

A simple scrollbar with a floating point range from 0 to 1

Component Source Code

Please click here to download the component source project: FC_Comp_Source_temp/scrollbar.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_temp/scrollbar.fcfx

Detailed description

No detailed description exists yet for this component

Examples

Here is a basic example of the scope monitor component being used to add traces to the scope window. Scope Monitor Example




Macro reference

GetValue

GetValue
Gets the bar graphs value 
- FLOAT Return


SetInteractive

SetInteractive
 
- BOOL Enable
Set true to allow clicks to set scale 
[[File:]] - Return


SetValue

SetValue
 
- FLOAT Value
 
[[File:]] - Return



Property reference

Properties