ProgressBar.Value
From Xojo Documentation
Property (As Double )
aProgressBar.Value = newDoubleValue
or
DoubleValue = aProgressBar.Value
Supported for all project types and targets.
or
DoubleValue = aProgressBar.Value
Supported for all project types and targets.
The current value of the progress bar.
Examples
This example is in the Open event of the ProgressBar. 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 ProgressBar.
ProgressBar1.Value = ProgressBar1.Value + 5