[Gambas-user] Button not working

Fabien Bodard gambas.fr at ...626...
Sun Dec 13 16:53:54 CET 2009


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
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test2ndForm-0.0.1.tar.gz
Type: application/x-gzip
Size: 9049 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20091213/f454cfd8/attachment.bin>


More information about the User mailing list