You are here: Core Reference > Coding > Scripting > Slider.Value

Slider.Value

The Slider.Value property can be used to set the initial value for the slider when it is first displayed.

Syntax

Slider.Value = InitialValue

Description

Sets the slider to a defined value when it is first displayed.

Arguments

InitialValue {integer}.

A value within the Minimum to Maximum range (defined by the Slider.Minimum and Slider.Maximum properties).

Returns

None.

Example:

Slider.Value = 50

This sets the slider to be positioned at 50 when it is first displayed (in this example, the minimum value is 0 and the maximum value is 100, so the slider is positioned in the center.


ClearSCADA 2015 R2