Busy Indicator

This action allows the user to enable (and/or disable) the Busy Spinner for a view.

Notes

This action is to be used in conjunction with other actions.  See the example in the section below for an example of its usage.

Options

  • Busy Text Expression:  The message that will be shown under the Busy Spinner when it is in its "Set Busy" state.  The message must be enclosed by single quotes.
  • Show Busy: If checked, this will enable the Busy Spinner to appear in the chosen view.  If unchecked, this will disable the Busy Spinner in the chosen view.
  • Target View: The view that will show the Busy Spinner (or the view that the Busy Spinner will be removed from).

Tips, tricks, and examples

Say a user wants to launch another View from the current (i.e., "parent") view...and then set a Busy Spinner for the parent view (which would then be in the background) while the launched view is open.  Setting up this functionality requires setting up action chains for each of the views, as explained below:

Parent view: A new action chain would need to be created that involves two separate Actions.  First, the Launch View action is used to launch the new view.  Second, the Set Busy Spinner action is used to show the Busy Spinner for the view while it is in the background.  The Set Busy checkbox would be checked (while effectively enables the Busy Spinner), the View to Set would be this parent view, and if desired, a message could be entered in the Expression field.

Launched view: The Close action chain (which should already exist by default) would need to be edited to allow it to also disable the Busy Spinner for the parent view when the launched view is closed.  To do this, the Set Busy Spinner Action needs to be added to the Close action chain, with the Set Busy checkbox unchecked and the parent View selected as the View to Set.  This effectively closes the launched View and disables the Busy Spinner on the parent View...returning the parent View to its original state.

Here is a tip on how to properly enter an Expression:

As mentioned already, single quotes must be used when entering the desired message in the Expression field.  If the message is entered without single quotes, DataVoke will display an error message when the action is executed.  

Here is an example of using the Set Busy Spinner action:Say a user wants to launch another View from the current (i.e., "parent") view...and then set a Busy Spinner for the parent view (which would then be in the background) while the launched view is open.  Setting up this functionality requires setting up action chains for each of the views, as explained below:

Parent view: A new action chain would need to be created that involves two separate Actions.  First, the Launch View action is used to launch the new view.  Second, the Set Busy Spinner action is used to show the Busy Spinner for the view while it is in the background.  The Show Busy checkbox would be checked (while effectively enables the Busy Spinner), the Target View would be this parent view, and if desired, a message could be entered in the Busy Text Expression field.

Launched view: The Close action chain (which should already exist by default) would need to be edited to allow it to also disable the Busy Spinner for the parent view when the launched view is closed.  To do this, the Set Busy Spinner Action needs to be added to the Close action chain, with the Show Busy checkbox unchecked and the parent View selected as the Target View.  This effectively closes the launched View and disables the Busy Spinner on the parent View...returning the parent View to its original state.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.