iOSProgressBar.MaxValue

From Xojo Documentation

Revision as of 18:51, 21 August 2018 by PLefebvre (talk | contribs) (Created page with "{{PropertyBox | name=MaxValue | owner=iOSProgressBar | ownertype=class | scope=public | type=Double | project=Mobile | target=iOS }} {{Description | text = The maximum...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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