From Xojo Documentation

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

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

New in 2021r3

Supported for all project types and targets.

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


This example in the Opening event of the DesktopScrollbar sets the Maximum value.

Me.MaximumValue = 200