From Xojo Documentation

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

Property (As Double )
aDesktopProgressBar.Maximum = newDoubleValue
DoubleValue = aDesktopProgressBar.Maximum

New in 2021r3

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