hero_header_background
PowerApps : Adding a Spinner
PowerApps : Adding a Spinner
When a Power App needs to process the user will see grey dots floating across the top of the screen. These grey dots are not clear to the user who generally will press buttons. To avoid this confusion a colourful spinner can be displayed to the user while the processing occurs.

To create a spinner, add an image to the screen and select the spinning gif file. If you don't have a spinning gif file you can search for one on the internet and download a version that you like.


Blog12-02


Create a variable (varShowSpinner) to turn the spinner on or off and set the visibility of the image to this variable.


Blog12-03


For demonstration purposes I am going to create two buttons to turn the spinner on and off.


The Start Spinner button I set the varShowSpinner variable to true.


Blog12-04


The Stop Spinner button I set the varShowSpinner variable to false.


Blog12-05


Now lets demo the spinner.


Here is the screen on start up.


Blog12-06


Now I start the spinner.


Blog12-07

And stop the spinner.


Blog12-06


So where I have code that will do processing I can start the spinner before processing and stop the spinner on completion.your spinner.


Blog12-08


I advise that you do this to all code even if the processing time seems minimal. Generally you don't have control over the end users device and it may be old with limited CPU and RAM causing slow processing times than normal.


And here is the animation of the Spinner used in the demonstration.


Blog12-09

Leave a Reply

Your email address will not be published. Required fields are marked *