Notifier.ShowProgessDialog spinning artifact freezing

I am looking to display the Notifier.ShowProgressDialog for (say) 10s when a screen initialises. Here is my code:

This code works. When opening the screen, the screen is displayed with the ShowProgressDialog. The dialog remains for 10s, then closes.

However, the spinning artefact only spins 1/2 to 3/4 of one circle clockwise, then stops/freezes. It does not continuing to rotate for the full 10s - as I expect it to do.

Just wondering if anyone knows why and/or can resolve the freezing?

image

Many thanks TIMA12 - much appreciated. However, this code requires a button press - I'd like mine to work on screen initialisation.

There was a reply here that annotated my code but it seems to have disappeared? I'm trying to remember and test.

Sorry, I forgot to mention you set the clock timer to 10000

Just put the code in the button click event in the Screen.Initialise event.

Also, reasons why your code was not working:

That's great TIMA12 - all working now like this....

And many thanks for article on why my code wasn't working - haven't read yet before this reply but will definitely do. Really appreciate your help!

Put the TimerInterval block above the TimerEnabled block

Remove the while test block

Put the TimeEnabled = false block above the DismissProgressDialog block

1 Like

Many thanks!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.