DesktopProgressBar.Value
From Xojo Documentation
Property (As Double )
aDesktopProgressBar.Value = newDoubleValue
or
DoubleValue = aDesktopProgressBar.Value
New in 2021r3
Supported for all project types and targets.
or
DoubleValue = aDesktopProgressBar.Value
New in 2021r3
Supported for all project types and targets.
The current value of the progress bar.
Examples
This example is in the Opening event of the DesktopProgressBar. It sets the maximum value and initializes the reading to 0.
The following code is in the action event of a Timer. It increments the value of the DesktopProgressBar.
ProgressBar1.Value = ProgressBar1.Value + 5