From Xojo Documentation

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

Property (As Double )
aProgressBar.Maximum = newDoubleValue
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