RectControl → Control → Object

Slider Class

Implements the slider control.

Events
GotFocus
LostFocus
MouseDown
MouseDrag
MouseUp
ValueChanged

Properties
LineStep
LiveScroll
Maximum
Minimum
PageStep
Value

Because this is a RectControl, see the RectControl for other properties and events that are common to all RectControl objects.

# Examples

Changing the maximum value of a Slider at runtime:

Slider1.maximum=200

Setting the text of staticText1 to the value of the slider when the user scrolls

Sub ValueChanged()
StaticText1.text= Str(Slider1.value)

:

# See Also

RectControl class; ScrollBar control.