Jump to content

Component: Slider control (Advanced Shapes)

From Flowcode Help
Revision as of 11:05, 17 November 2021 by Wiki bot (talk | contribs)
Author Matrix Ltd
Version 1.1
Category Advanced Shapes


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.

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. 
[[File:]] - Return


SetValue
Set the current value of the slider. This will override any value set by using the mouse. 
[[File:]] - Value
The value to set. 
- VOID Return


SetInteractive
Set whether the mouse can be used to change the slider value. 
[[File:]] - Enable
Set true to allow clicks to set scale 
- VOID Return


ShowScale
Set whether graduated marking are shown along the length of the slider. 
[[File:]] - Show
True to show scale, else false 
- VOID Return


SetRange
Set the minimum and maximum values that can be shown on the slider. 
[[File:]] - Min
Min (start) value 
[[File:]] - Max
Maximum (end) value 
- VOID Return



Property reference

Properties
Connections
Simulations