top of page
logo.png

PowerApps : Adding a Spinner

  • Writer: Andrew Gallagher
    Andrew Gallagher
  • Jul 15, 2022
  • 1 min read

Updated: Jul 21, 2023

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.

ree

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.


ree

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


ree

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.


ree

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


ree

Now lets demo the spinner.

Here is the screen on start up.

ree

Now I start the spinner.

ree

And stop the spinner.

ree

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

ree

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.

ree


Comments


bottom of page