ProgressBar

From Xojo Documentation

For web apps, see WebProgressBar.

Class (inherits from RectControl)

Displays a progress bar indicator on a window.

Events
Close DropObject MouseExit
ConstructContextualMenu KeyDown MouseMove
ContextualMenuAction KeyUp MouseUp
DragEnter MouseDown MouseWheel
DragExit MouseDrag Open
DragOver MouseEnter


Properties
Active fa-lock-32.png LockRight TabIndex
AutoDeactivate LockTop TabStop
Enabled Maximum Top
Handle fa-lock-32.png MouseCursor Transparent
Height MouseX fa-lock-32.png TrueWindow fa-lock-32.png
HelpTag MouseY fa-lock-32.png Value
Index fa-lock-32.png Name Visible
Left PanelIndex Width
LockBottom Parent Window fa-lock-32.png
LockLeft Scope fa-lock-32.png


Methods
AcceptFileDrop Close RefreshRect
AcceptPictureDrop DrawInto SetFocus
AcceptRawDataDrop Invalidate
AcceptTextDrop Refresh

Notes

When you want to show progress of an indeterminate length, set the Maximum property to zero to display an indeterminate progress bar rather than a progress indicator.

Example

This line of code sets the maximum value of the progress bar:

ProgressBar1.Maximum = 350

See Also

RectControl, WebProgressBar classes.