WebProgressBar
From Xojo Documentation
Class (inherits from WebUIControl)
New in 2010r4
This control shows determinate and indeterminate progress. Itʼs the web equivalent of the desktop ProgressBar control and is basically identical in functionality and API.
Events | |||||
|
Methods | |||||
|
Notes
In order to move a ProgressBar, you will want to use a WebTimer or call UpdateBrowser inside your loop.
Example
On a WebTimer with a period of 1000, add this code to its Action event handler to increase the Value property about once a second:
progress = progress + 1 // a property of the web page
If progress <= ProgressBar1.Maximum Then
ProgressBar1.Value = progress
Else
Me.Enabled = False
End If
If progress <= ProgressBar1.Maximum Then
ProgressBar1.Value = progress
Else
Me.Enabled = False
End If