iOSProgressBar.MaxValue

From Xojo Documentation

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

Property (As Double )
aiOSProgressBar.MaxValue = newDoubleValue
or
DoubleValue = aiOSProgressBar.MaxValue

Supported on Mobile (iOS).

The maximum value of the progress bar. When CurrentValue reaches MaxValue, the progress bar appears "full".

Sample Code

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

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