ProgressBar.MaximumValue
From Xojo Documentation
Property (As Double )
aProgressBar.Maximum = newDoubleValue
or
DoubleValue = aProgressBar.Maximum
Supported for all project types and targets.
or
DoubleValue = aProgressBar.Maximum
Supported for all project types and targets.
The maximum value of the progress bar.
Sample Code
This code sets the maximum value of the progress bar:
ProgressBar1.MaximumValue = 350