[Gambas-user] Button not working

Matti math.eber at ...221...
Sun Dec 13 20:21:26 CET 2009


???
Fabien, that wasn't my question.
Run the example, and you'll know what I mean.


Fabien Bodard schrieb:
> with a timer ... it's less expansive in ressources
> 
> 
> 
> 2009/12/13 Matti <math.eber at ...221...>:
>> Last week, someone posted about a new form and a button "butty" not working
>> (don't have the mail here anymore).
>>
>> This reminded me of a similar problem I once had. Could it be that the problem
>> was not with the code, but with another process running at the same time?
>>
>> Attached, you find a tiny example (made with 2.17). When the program starts, a
>> loop is started, either by Form_Activate or by a Timer event. The loop has a
>> WAIT in it, so you can press a button and show a 2nd Form. But this one will not
>> react until the loop in FMain is finished. If you use ShowModal for the 2nd
>> Form, everything is blocked, the program goes dead.
>>
>> Maybe this is a hint for the poster, and maybe someone can explain that?
>>
>> Matti
>>
>> ------------------------------------------------------------------------------
>> Return on Information:
>> Google Enterprise Search pays you back
>> Get the facts.
>> http://p.sf.net/sfu/google-dev2dev
>>
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> ------------------------------------------------------------------------------
>> Return on Information:
>> Google Enterprise Search pays you back
>> Get the facts.
>> http://p.sf.net/sfu/google-dev2dev
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user




More information about the User mailing list