Slider.Value

From Xojo Documentation

Property (As Integer )
aSlider.Value = newIntegerValue
or
IntegerValue = aSlider.Value

Supported for all project types and targets.

The current value of the slider.

Example

This example sets the maximum and current values of the Slider.

Me.Maximum = 50
Me.Value = 10