A BusyIndicator object lets you control the breadcrumbs bar busy indicator from your script.
By default a busy indicator simply indicates that something is happening; it can also be used to indicate the progress of a job (percentage complete from 0% to 100%). The user can click the spinning circle to see a description of the jobs that are running, and each job can optionally allow the user to abort it by displaying an Abort link they can click.
BusyIndicator objects are created using the DOpusFactory.BusyIndicator method. The basic steps for using one in your script are:
Property Name | Return Type | Description |
---|---|---|
abort |
bool |
Before the Init method has been called, you can set this property to True to enable abort by the user (as shown above). |
Method Name | Arguments | Return Type | Description |
---|---|---|---|
Destroy |
none |
bool |
Removes the busy indicator from display and destroys its internal data structures. The BusyIndicator object itself can be re-used by calling the Init method again. |
Hide |
none |
bool |
Removes the busy indicator from display, but does not destroy its internal data. The indicator can be re-displayed by calling the Show method. |
Init |
<object:window> |
bool |
Initializes a BusyIndicator object and optionally displays it. |
Show |
none |
bool |
Displays the busy indicator. |
Update |
<string:description> |
bool |
Updates the busy indicator. |