WebProgressBar.Value

From Xojo Documentation

Property (As Integer )
aWebProgressBar.Value = newIntegerValue
or
IntegerValue = aWebProgressBar.Value

Supported for all project types and targets.

The current value of the progress bar.

Examples

This example is in the Open event of a Progress Bar. It sets the maximum value and initializes the current value to 0.

Me.Value = 0
Me.Maximum = 100

On a WebTimer with a period of 1000, add this code to its Action event handler to increase the Progress Bar value about once a second:

mProgressValue = mProgressValue + 1 // a property of the web page
If mProgressValue <= ProgressBar1.Maximum Then
ProgressBar1.Value = mProgressValue
Else
Me.Enabled = False
End If