DesktopProgressBar.MaximumValue

From Xojo Documentation

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