MobileProgressBar.MaximumValue

From Xojo Documentation

Property (As Double )
aMobileProgressBar.MaximumValue = newDoubleValue
or
DoubleValue = aMobileProgressBar.MaximumValue

Supported on Mobile.

The maximum value of the progress bar. When Value reaches MaximumValue, the progress bar fills the space.

Sample Code

Only update the current value if it is below the maximum:

If MyProgressBar.Value < MyProgressBar.MaximumValue Then
MyProgressBar.Value = MyProgressBar.Value + 1
End If

See Also

MinimumValue and Value properties.