Controls > Advanced Controls > Slider > Slider Format Properties
Slider Format Properties
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
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.
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
Element
Description
bMode
true—indicates that a border is visible.
false—indicates that it is not.
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
Element
Description
bMode
0 = horizontal slider, 1 = vertical slider.
Was this helpful?