WebProgressBar

From Xojo Documentation

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
Close KeyPressed MouseUp
ContextualMenuAction LostFocus Open
DoubleClick MouseDown Resized
DropObject MouseEnter Shown
GotFocus MouseExit
Hidden MouseMove


Properties
ContextualMenu Left Page fa-lock-32.png
ControlID fa-lock-32.png LockBottom Parent fa-lock-32.png
Cursor LockHorizontal Style
DragOverStyle LockLeft Top
Enabled LockRight Value
Height LockTop VerticalCenter
HelpTag LockVertical Visible
HorizontalCenter Maximum Width
Indeterminate Name fa-lock-32.png Zindex


Methods
AcceptPictureDrop AllowRawDataDrag MsgBox
AcceptRawDataDrop AllowTextDrag PresentContextualMenu
AcceptTextDrop Close SetFocus
AllowPictureDrag ExecuteJavaScript ShowURL

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

See Also

ProgressBar, WebProgressWheel