Scrollbar.Maximum

From Xojo Documentation

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

Supported for all project types and targets.

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

Example

This example in the Open event of the Scrollbar sets the Maximum value.

Me.Maximum = 200