[Gambas-user] Re: DoEvents

Charlie karl.reinl at ...9...
Wed Dec 8 21:32:01 CET 2004


Rob schrieb:

>On Wednesday 08 December 2004 08:30, Christian Faure wrote:
>  
>
>>In somes case, a Cancel button is necesary to cancel a big
>>process, Is posible to create another api or modify WAIT to
>>handle input events?
>>    
>>
>
>Just in case this workaround hasn't occurred to you... if you 
>have to, you can put your processing into a timer object, doing 
>a chunk of it each time the timer event fires (obviously you 
>want to set a flag indicating the timer event handler is running 
>so you don't have overlap.)
>
>It's not really pretty but it may also have the effect of forcing 
>you to write cleaner code since you have to maintain state 
>between timer fires.
>
>Rob
>  
>
Salut,

send you a project from the early 0.3x of gambas where WAIT had problems.
Now I see it dosn't work any more.
Since I can't trap mouse while WAIT, and buttons don't worke anymore.
You can't stop this application no more.

Amicalment
Charlie


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test-0.0.2.tar.gz
Type: application/x-tar
Size: 3562 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20041208/38215ed3/attachment.tar>


More information about the User mailing list