Component: Slider (Graphical Manager Primitives)

From Flowcode Help
Revision as of 14:13, 22 October 2025 by Wiki bot (talk | contribs) (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix TSL |- | width="20%" style="color:gray;" | Version | 1.0 |- | width="20%" style="color:gray...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Author Matrix TSL
Version 1.0
Category Graphical Manager Primitives


Slider component

A rectangle primitive used with the Graphical Manager on the GLCD Layout Editor panel.

Detailed description

No detailed description exists yet for this component

Examples

No additional examples

Macro reference

GetID

Fc9-comp-macro.png GetID
Returns the assigned object/widget ID. 
Fc9-u16-icon.png - UINT Return


GetSliderValue

Fc9-comp-macro.png GetSliderValue
Reads the value of one of the sliders ranging between 0 and 1. 
Fc9-f32-icon.png - FLOAT Return


ModifyColour

Fc9-comp-macro.png ModifyColour
Changes the theme index of the selected Object or Widget. 
Fc9-u8-icon.png - BYTE Index
0=Thumb, 1=Background, 2=Low Line, 3=High Line 
Fc9-u8-icon.png - BYTE R
 
Fc9-u8-icon.png - BYTE G
 
Fc9-u8-icon.png - BYTE B
 
Fc9-bool-icon.png - BOOL Redraw
 
Fc9-void-icon.png - VOID Return


ModifyPosition

Fc9-comp-macro.png ModifyPosition
Moves an existing object or Widget to absolute coordinates on the screen. 
Fc9-s16-icon.png - INT X
 
Fc9-s16-icon.png - INT Y
 
Fc9-bool-icon.png - BOOL Relative
0=Absolute Positioning, 1=Relative Positioning 
Fc9-void-icon.png - VOID Return


ModifyScale

Fc9-comp-macro.png ModifyScale
Changes the width and height of the selected Object or Widget. 
Fc9-u16-icon.png - UINT Width
 
Fc9-u16-icon.png - UINT Height
 
Fc9-void-icon.png - VOID Return


SetSliderValue

Fc9-comp-macro.png SetSliderValue
Sets the value of one of the sliders and optionally redraws the slider to reflect the value change. 
Fc9-f32-icon.png - FLOAT Value
Range: 0 to 1 
Fc9-bool-icon.png - BOOL RedrawSlider
0=Do not redraw, 1=Redraw 
Fc9-void-icon.png - VOID Return


Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Appearance
Fc9-type-16-icon.png Orientation
 
Fc9-type-21-icon.png Line Width
Width of the line in pixels 
Fc9-type-16-icon.png ThumbShape
 
Fc9-type-21-icon.png Thumb Width
Width of the thumb in pixels 
Fc9-type-1-icon.png Thumb Colour
The colour of the outer border line 
Fc9-type-1-icon.png Background Colour
The fill colour of the shape 
Fc9-type-1-icon.png Low Line Colour
 
Fc9-type-1-icon.png High Line Colour
The colour of the drop shadow 
Fc9-conn-icon.png Touch
Fc9-conn-icon.png Value Range
Fc9-type-7-icon.png Custom Range
 
Fc9-type-15-icon.png Minimum Value
The minimum value of the slider. 
Fc9-type-15-icon.png Maximum Value
The maximum value of the slider. 

Component Source Code

Please click here to download the component source project: FC_Comp_Source_DC_Slider.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_DC_Slider.fcfx