Re: Lockscreen and progress bar

2024-07-26 Thread jbv via use-livecode
Basically my script takes a list of images, checks the imagedata of every image for possible white areas at the top, bottom, left or right, crops the image if necessary, resizes the image and groups it with fields created on the fly with text data from an xml file. When I simply lock the screen a

Re: Lockscreen and progress bar

2024-07-26 Thread Bob Sneidar via use-livecode
Try wait 1 millisecond with messages then lock screen again. But I have run into this issue where even when I pause execution by some means the screen does not update. I find the whole process unreliable, and by the way when you lock the screen then do something with a datagrid, the screen gets

Re: Lockscreen and progress bar

2024-07-26 Thread Bob Sneidar via use-livecode
The solution I came up with was a standalone that I could send messages to. I called it Spinner because I wanted to show a dialog that displayed a message and a spinning graphic while Livecode was processing handlers. I could send commands to show itself, hide itself, display a message and activ

Re: Lockscreen and progress bar

2024-07-26 Thread jbv via use-livecode
Actually I forgot that I had a "lock screen" at the very beginning of my script. And successive "lock screen" cumulate. Therefore the following sequence doesn't update the screen layout : lock screen .. lock screen .. unlock screen lock screen Funny how I can get stalled with very

Re: Lockscreen and progress bar

2024-07-26 Thread Alex Tweedly via use-livecode
Sent from my iPhone > On 26 Jul 2024, at 08:13, jbv via use-livecode > 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 > un

Re: Lockscreen and progress bar

2024-07-26 Thread Terry Judd via use-livecode
...@souslelogo.com Subject: Re: Lockscreen and progress bar 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 lo

Re: Lockscreen and progress bar

2024-07-26 Thread jbv via use-livecode
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 av

Re: Lockscreen and progress bar

2024-07-25 Thread Terry Judd via use-livecode
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 on behalf of jbv via use-livecode Date: Friday, 26