Re: refresh+update on macosx

2014-11-11 Thread Erik Colson
Steve Cookson steve.cook...@sca-uk.com writes: You should probably do a $addTxtBtn-Disable(); after the click. yep, but in the real app there are lots of things I'd need to disable :( However, I figure in this usage I'd better split my routine and add the loop as separate calls to a

Re: refresh+update on macosx

2014-11-11 Thread Erik Colson
Erik Colson e...@ecocode.net writes: Steve Cookson - gmail steveco.1...@gmail.com writes: I had a similar case with updating a progress bar during a database update. The answer is $app-Yield(); Hi Steve, That does the trick. Thanks ! Playing a little more with Yield. It seems that Yield

Re: refresh+update on macosx

2014-11-11 Thread Steve Cookson
Hi Eric, Other ideas ? Well I don't know what your requirement is, but I have quite a bit of background processing going on (eg playing a video in the foreground while taking photos and clips in the background, also any warnings are emailed electronically to me, any emails sent by the user

Re: refresh+update on macosx

2014-11-11 Thread Erik Colson
Steve Cookson steve.cook...@sca-uk.com writes: What is your requirement? For this I don't want to let the user interact. I wan't the user to see what's happening by telling him in a log window (TextCtrl). So I don't want any user interaction to be possible. It sounds awkward and very user