Platforms to show: All Mac Windows Linux Cross-Platform
ProgressHUDMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | ProgressView | MBS iOS Plugin | 22.5 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
This is a simple drop-in class for displaying a progress HUD view similar to Apple's private UIProgressHUD class.
The MBProgressHUD window spans over the entire space given to it by the constructor and catches all user input on this region, thereby preventing the user operations on components below the view.
To still allow touches to pass through the HUD, you can set hud.userInteractionEnabled = false.
MBProgressHUD is a UI class and should therefore only be accessed on the main thread.
- 2 events
- event buttonAction
- event hudWasHidden
- 27 properties
- property AnimationType as Integer
- property backgroundView as ProgressBackgroundViewMBS
- property bezelView as ProgressBackgroundViewMBS
- property ButtonTitle as String
- property ButtonView as Variant
- property ContentColor as Variant
- property ContentColorValue as Color
- property defaultMotionEffectsEnabled as Boolean
- property DetailsLabelText as String
- property DetailsLabelView as Variant
- property graceTime as Double
- property Handle as Integer
- property Indicator as Variant
- property LabelText as String
- property LabelView as Variant
- property margin as Double
- property MinHeight as Double
- property minShowTime as Double
- property MinWidth as Double
- property Mode as Integer
- property offsetX as Double
- property offsetY as Double
- property Progress as Double
- property RemoveFromSuperViewOnHide as Boolean
- property Square as Boolean
- property userInteractionEnabled as Boolean
- property View as Variant
- 7 methods
- method Constructor(Control as MobileControl)
- method Constructor(Screen as MobileScreen)
- method Constructor(ViewHandle as Integer)
- method Destructor
- method hide(animated as boolean = true)
- method hide(animated as boolean, afterDelay as Double)
- method show(animated as boolean = true)
- 11 constants
Constants
Constant | Value | Description |
---|---|---|
MaxOffset | 1000000.0 | The max offset constant to move to the other border. |
Animations
Constant | Value | Description |
---|---|---|
AnimationFade | 0 |
Opacity animation |
AnimationZoom | 1 |
Opacity + scale animation (zoom in when appearing zoom out when disappearing) |
AnimationZoomIn | 3 |
Opacity + scale animation (zoom in style) |
AnimationZoomOut | 2 |
Opacity + scale animation (zoom out style) |
Modes
Constant | Value | Description |
---|---|---|
ModeAnnularDeterminate | 3 |
Ring-shaped progress view. |
ModeCustomView | 4 |
Shows a custom view. |
ModeDeterminate | 1 |
A round, pie-chart like, progress view. Example |
ModeDeterminateHorizontalBar | 2 |
Horizontal progress bar. |
ModeIndeterminate | 0 |
A round progress indicator. Example |
ModeText | 5 |
Shows only labels. |
This class has no sub classes.
Some examples using this class:
Blog Entries
- News from the MBS Xojo Plugins Version 22.5
- MonkeyBread Software Releases the MBS Xojo Plugins in version 22.5
- MBS Xojo Plugins, version 22.5pr6
- MBS Xojo Plugins, version 22.5pr5
- ProgressDialog functions for iOS
- MBS Xojo Plugins, version 22.5pr4
Xojo Developer Magazine
Release notes
- Version 22.5
- Added ProgressHUDMBS and related classes to show progress on iOS.
The items on this page are in the following plugins: MBS iOS Plugin.
ProgressBarProgressViewMBS - ProgressRoundProgressViewMBS