DesktopProgressBar.Value

From Xojo Documentation

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

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

Me.Value = 0
Me.MaximumValue = 100

The following code is in the action event of a Timer. It increments the value of the DesktopProgressBar.

ProgressBar1.Value = ProgressBar1.Value + 5