Re: refresh+update on macosx

2014-11-11 Thread Erik Colson
Steve Cookson 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 unfriendly but this really is

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 Steve Cookson
Hi Eric, Firstly, I rather like the ->{TERM} idea of your application. The concept has a sort of retro feel to it. Very cool. I might try to build something using this idea. (I'd really like Linux smartphone with a just a command prompt on it! I'd type "call somebody" and it would dial the

Re: refresh+update on macosx

2014-11-11 Thread Erik Colson
Erik Colson writes: > Steve Cookson - gmail 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 allows the user to click on

Re: refresh+update on macosx

2014-11-11 Thread Erik Colson
Steve Cookson 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 specific funct