Represents a progress bar created using StatusBar.CreateProgressBar.
Only one progress bar can be activated in the application. If the progress bar has been activated by another program, you cannot use it until it is released, which triggers the pbet_ProgressBarReleased event.
When creating a progress bar with a Stop button (StatusBar.CreateProgressBar(Stoppable=True)), clicking the Stop button does not release the progress bar for other programs.
To stop the progress bar after the user clicks the built-in Stop button:
- Catch the SBO_Application_ProgressBarEvent.pbet_ProgressBarStopped event.
- Call ProgressBar.Stop to release the progress bar and return the application to normal mode.
If you don't want to stop the progress bar, set BubbleEvent = false when BeforeAction = true.
| Creating a progress bar (Visual Basic) | Copy Code | |
|---|---|---|
| ||