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
Closed Hidden Shown
ContextualMenuSelected Opening


Properties
AllowAnimation LockBottom fa-lock-32.png Parent fa-lock-32.png
ContextualMenu LockHorizontal fa-lock-32.png Style
ControlID fa-lock-32.png LockLeft fa-lock-32.png TabIndex
Enabled LockRight fa-lock-32.png Tooltip
Height LockVertical fa-lock-32.png Top
Indeterminate Maximum Value
Indicator Name fa-lock-32.png Visible
Left Page fa-lock-32.png Width


Methods
Close GotoURL UpdateBrowser
ExecuteJavaScript SetFocus

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

See Also

ProgressBar, WebProgressWheel