Page 1 of 1

My spinner won't spin

Posted: Tue Feb 18, 2020 9:00 pm
by kaveh1000
I am trying to use the spinner widget. The screen is locked while it is supposed to show LC is busy. This is to save processing time. But the spinner is stationery. I have followed suggestions from here:

https://livecode.com/livecode-widgets-t ... indicator/

and put

Code: Select all

wait 0 with messages
in a loop that runs over 1000 times during the wait period. But still no spin.

Is it because of locked screen? I need screen locked as otherwise process takes too long.

Re: My spinner won't spin

Posted: Tue Feb 18, 2020 9:11 pm
by bogs
Would be my guess that your guess is right about the locked screen. You *could* try locking the screen before the code part of the repeat, unlock it on the last line of the repeat to give the spinner a second to look like it is doing something, and then the repeat will lock / unlock the screen for each loop.

Re: My spinner won't spin

Posted: Tue Feb 18, 2020 9:53 pm
by kaveh1000
Perfect Bogs. It works!! Thanks, again!