Slider.Maximum

From Xojo Documentation

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

Supported for all project types and targets.

The maximum value of the slider. The default is 100.

Example

This example is in the Open event of the control. It sets the minimum and maximum values of the Slider.

Me.Maximum = 50
Me.Minimum = 10