UserGuide

Web Slider

From Xojo Documentation

The Slider control provides an interface that is used for increasing or decreasing a numeric value.

You can use the Set Default Value feature to set the default position of the slider.

Below are the commonly used events and properties. Refer to WebSlider in the Language Reference for the complete list.

Events

ValueChanged

Called when the slider value has changed.

Properties

MinimumValue, MaximumValue

The minimum and maximum values returned by the slider.

Value

An Integer used to get or set current position of the slider.

Usage

This code in the ValueChanged event handler displays the Slider value in a Label:

Label1.Value = "Slider value = " + Me.Value.ToString

See Also

WebSlider class; UserGuide:Web UI topic