From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Integer )
aDesktopSlider.MaximumValue = newIntegerValue
IntegerValue = aDesktopSlider.MaximumValue

New in 2021r3

Supported for all project types and targets.

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


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

Me.MaximumValue = 50
Me.MinimumValue = 10