WebProgressBar
From Xojo Documentation
Supported Platforms Project Types: Web Platforms: macOS, Windows, Linux |
- For desktop applications, see ProgressBar.
Class (inherits from WebControl)
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.
Example
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
If mProgressValue <= ProgressBar1.Maximum Then
ProgressBar1.Value = mProgressValue
Else
Me.Enabled = False
End If