Controls > Advanced Controls > Slider > Slider Format Properties
Slider Format Properties
Border
Gets or sets whether the slider has a border.
JScript
var bMode = Slider.Border();
Slider.Border(bMode);
VBScript
bMode = Slider.Border
Slider.Border = bMode
Python
bMode = Slider.Border
Slider.Border = bMode
Element
Description
bMode
true—indicates that a border is visible.
false—indicates that it is not.
Invert
Gets or sets a value that allows to reverse the minimum and maximum values of the slider control. This feature is useful when you need to change the direction of the slider's value progression.
JScript
var bMode= Slider.Invert
Slider.Invert(bMode);
VBScript
bMode = Slider.Invert
Slider.Invert = bMode
Python
bMode = Slider.Invert
Slider.Invert = bMode
Element
Description
bMode
true—Indicates that the minimum and maximum values are reversed.
false—Indicates that the minimum and maximum values are not reversed.
Orientation
Gets or sets the orientation, horizontal or vertical, of the Slider control. This property can also be accessed via the Properties tab.
JScript
var bMode = Slider.Orientation();
Slider.Orientation(bMode);
VBScript
bMode = Slider.Orientation
Slider.Orientation = bMode
Python
bMode = Slider.Orientation
Slider.Orientation = bMode
Element
Description
bMode
0 = horizontal slider, 1 = vertical slider.
Point
Gets or sets a value that indicates the style of the pointer.
The Point property must be set together with the Ticks property. If you are setting the you Point property directly in the Script Editor, ensure that you also enable the ticks by setting them to true. Alternatively, if you are configuring the Point property from the Properties tab, make sure to check the Ticks checkbox there.
JScript
var intStyle = Slider.Point();
Slider.Point(intStyle);
VBScript
intStyle = Slider.Point
Slider.Point = intStyle
Python
intStyle = Slider.Point
Slider.Point = intStyle
Element
Description
intStyle
0 gives a rectangular pointer across the center of the slider. 1 gives a pointer toward the top in a horizontal slider, or left for a vertical slider. 2 gives a pointer toward the bottom or right, respectively.
TickFrequency and Ticks
Gets or sets the spacing of the ticks on the Slider. For even tick spacing, the result of (MaxRange - MinRange)/TickFrequency must be a whole number. The Ticks property sets or gets whether the slider displays tick marks.
JScript
var longFreq = Slider.TickFrequency();
Slider.TickFrequency(longFreq);

var bMode = Slider.Ticks();
Slider.Ticks(bMode);
VBScript
longFreq = Slider.TickFrequency
Slider.TickFrequency = longFreq

bMode = Slider.Ticks
Slider.Ticks = bMode
Python
longFreq = Slider.TickFrequency
Slider.TickFrequency = longFreq

bMode = Slider.Ticks
Slider.Ticks = bMode
Element
Description
bMode
true—Indicates that a tick appears at the interval specified by the TickFrequency property.
false—Indicates that no ticks are displayed.
longFreq
An integer value that determines the spacing of the ticks.
ShowMinMax
Gets or sets a value that determines whether the slider control will display the defined minimum and maximum values.
JScript
var bMode = Slider.ShowMinMax
Slider.ShowMinMax(bMode);
VBScript
bMode = Slider.ShowMinMax
Slider.ShowMinMax = bMode
Python
bMode = Slider.ShowMinMax
Slider.ShowMinMax = bMode
Element
Description
bMode
true – Indicates that the minimum and maximum values are displayed.
false – Indicates that the minimum and maximum values of the slider are not displayed.
* 
For Python, use True and False, with a capital letter.
Was this helpful?