How about taking a screengrab just before you run the loop, place that over the 
top of the content that changes, layer the progress thingy over that and then 
delete the screengrab and hide the thingy when the loop is done?

From: use-livecode <use-livecode-boun...@lists.runrev.com> on behalf of jbv via 
use-livecode <use-livecode@lists.runrev.com>
Date: Friday, 26 July 2024 at 4:44 PM
To: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: j...@souslelogo.com <j...@souslelogo.com>
Subject: Lockscreen and progress bar
Hi list,

I have a main loop that does a lot of things, like resizing images,
precessing imagedata, creating fields and groups, etc.
On top of the loop I have added "lock screen" to speed things up, and
also because I don't want users to see what is going on, only the final
layout when the loop is over.
However, while the loop is running, I would like to have a progress bar
and a message such as "step 1/20" etc.

How can I handle that ? I took a look at callbacks, but unless I missed
something, it seems limited to players.

Thank you in advance.
jbv

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to