Difference between revisions of "Component: Scrollbar control (Controls)"
From Flowcode Help
Jump to navigationJump to search(3 intermediate revisions by the same user not shown) | |||
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 87: | Line 95: | ||
==Macro reference== | ==Macro reference== | ||
+ | ===GetValue=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 100: | Line 109: | ||
+ | ===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;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetInteractive''' |
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:Fc9- | + | | width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL |
− | | width="90%" | | + | | 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 118: | Line 128: | ||
+ | ===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;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetValue''' |
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:Fc9- | + | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT |
− | | width="90%" | | + | | width="90%" | Value |
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | |
|- | |- | ||
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] - | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] - | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
− | |||
− | |||
Latest revision as of 13:13, 7 February 2023
Author | |
Version | 1.0 |
Category | Controls |
Contents
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_scrollbar.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_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 | |
![]() |
Return |
SetInteractive
![]() |
SetInteractive |
![]() |
Enable |
Set true to allow clicks to set scale | |
[[File:]] - | Return |
SetValue
![]() |
SetValue |
![]() |
Value |
[[File:]] - | Return |
Property reference
![]() |
Properties |