Difference between revisions of "Component: Slider control (Advanced Shapes)"
From Flowcode Help
Jump to navigationJump to search(2 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
==Slider control component== | ==Slider control component== | ||
A simple graphical interface for a vertical meter or slider control. This can be used within custom components to give them a way to display an analogue value, or to allow setting a value by clicking and dragging with the mouse. | A simple graphical interface for a vertical meter or slider control. This can be used within custom components to give them a way to display an analogue value, or to allow setting a value by clicking and dragging with the mouse. | ||
+ | |||
+ | ==Component Pack== | ||
+ | |||
+ | MODELS | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Line 24: | Line 34: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Line 43: | Line 59: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] - | + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT |
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
Line 56: | Line 72: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT |
| width="90%" | Value | | width="90%" | Value | ||
|- | |- | ||
Line 74: | Line 90: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL |
| width="90%" | Enable | | width="90%" | Enable | ||
|- | |- | ||
Line 92: | Line 108: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL |
| width="90%" | Show | | width="90%" | Show | ||
|- | |- | ||
Line 110: | Line 126: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT |
| width="90%" | Min | | width="90%" | Min | ||
|- | |- | ||
| colspan="2" | Min (start) value | | colspan="2" | Min (start) value | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT |
| width="90%" | Max | | width="90%" | Max | ||
|- | |- | ||
Line 133: | Line 149: | ||
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|} | |} |
Latest revision as of 17:21, 9 November 2022
Author | Matrix Ltd |
Version | 1.1 |
Category | Advanced Shapes |
Contents
Slider control component
A simple graphical interface for a vertical meter or slider control. This can be used within custom components to give them a way to display an analogue value, or to allow setting a value by clicking and dragging with the mouse.
Component Pack
MODELS
Detailed description
No detailed description exists yet for this component
Examples
Simple example showing how to use the simulation slider component as a meter display for use in monitoring type applications.
Meters
Downloadable macro reference
![]() |
GetValue |
Gets the current value of the slider. This will be within the range set by the SetRange macro. | |
![]() |
Return |
![]() |
SetValue |
Set the current value of the slider. This will override any value set by using the mouse. | |
![]() |
Value |
The value to set. | |
![]() |
Return |
![]() |
SetInteractive |
Set whether the mouse can be used to change the slider value. | |
![]() |
Enable |
Set true to allow clicks to set scale | |
![]() |
Return |
![]() |
ShowScale |
Set whether graduated marking are shown along the length of the slider. | |
![]() |
Show |
True to show scale, else false | |
![]() |
Return |
![]() |
SetRange |
Set the minimum and maximum values that can be shown on the slider. | |
![]() |
Min |
Min (start) value | |
![]() |
Max |
Maximum (end) value | |
![]() |
Return |
Property reference
![]() |
Properties |