Le 22 janv. 2012 à 20:46 Soir, Tim Jones a écrit:

> On Jan 22, 2012, at 3:28 AM, Arnaud Nicolet wrote:
> 
>> Le 22 janv. 2012 à 11:08 Matin, Christian Schmitz a écrit:
>> 
>>>> A ShowModalSheetForDirectory method would be the missing method here, 
>>>> simply because a NSSavePanel is meant to suspend the current method. Or is 
>>>> there a workaround?
>>> 
>>> Maybe simply do a loop and wait?
>>> 
>>> do
>>> delayMBS 0.1
>>> loop until done
>>> 
>>> or something like that.
>> 
>> I've considered various ways for that. In the example above, I'd have to use 
>> App.DoEvents to not block the UI (no problem for me, but some say it's to be 
>> avoided).
> 
> Hi Arnaud - 
> 
> Since I use the quite regularly in a "do this function and wait" situations, 
> I'll restate that I've found App.DoEvents() in this exact situation is quite 
> safe and very useful.
> 
> Cliches are sometimes valid -  in this case, "the proof is in the tasting of 
> the pudding" and my pudding (using App.DoEvents() ) works very well in 13 
> different apps and tools on all 3 supported platforms.

Hello Tim!

Thanks for your input. As you, I have used DoEvents with no problem (the "no 
problem for me" I was referring in my previous message). I'm glad someone 
confirms me I was right.
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to