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

Attachment: test2ndForm-0.0.1.tar.gz
Description: GNU Zip compressed data

------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to