Sent from my iPhone

> On 26 Jul 2024, at 08:13, jbv via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Hello Terry,
> 
> Yes I thought of that. The problem is that "lock screen" hinders
> the progress bar to be updated while the loop is running.
> I also tried to shortly "break" the lock screen by inserting
>  unlock screen
>  lock screen
> within the loop, hoping that it would update the display, but
> to no avail.

Unlock screen 
Wait 0 millisecs with messages 
Lock screen 

I think 🤔 
Alex

> 
> Thank you anyway for the idea.
> 
> Le 2024-07-26 02:54, Terry Judd via use-livecode a écrit :
>> 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
> 
> _______________________________________________
> 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