05-09-2016, 04:40 PM
I can display the spinner now, thanks. Not getting it to spin yet, but it's late at night. Will try again tomorrow.
You say in the documentation
But while my program is in my_cool_process(), it is not checking the main loop. It only returns to the main loop when my_cool_process() completes. You'd have to spawn the spinner into a separate thread to do that. Hmm, now if we spun it off to a separate program ... I think I see a way. TTYL
You say in the documentation
Code:
When your process starts, set a flag variable to and display the spinner:
display_spinner("MySpinner")
spin=true
my_cool_process()
spin=false
hide_spinner("MySpinner")
Then in the main message loop of your program add:
if spin spinall()
Now while my_cool_process() is running, the spinner will show on the bottom of MyView.
But while my program is in my_cool_process(), it is not checking the main loop. It only returns to the main loop when my_cool_process() completes. You'd have to spawn the spinner into a separate thread to do that. Hmm, now if we spun it off to a separate program ... I think I see a way. TTYL