I was thinking you would omit the lock screen altogether. Or if things are too slow without it can you move to a different card while all that other stuff is happening?
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 5:13 PM To: How to use LiveCode <use-livecode@lists.runrev.com> Cc: j...@souslelogo.com <j...@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 lock screen within the loop, hoping that it would update the display, but to no avail. 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