[Gambas-user] Only One Active Form at same time

Nx GT-R BOY nxgtrturbo at ...626...
Fri Feb 22 03:18:00 CET 2008


 Hi, I was wondering how to have only one form opened, I mean, If I have a
button1 inside a form1 I want to close form1 and open form2, instead of have
2 opened windows.

The problem is that I found a way to do it but works only with a few forms,
I really don't know what is wrong in other forms.

The code is as simple as:
Me.close(TRUE)
Form2.show

I don't know if thats the way to do it, but works in a few forms.

Is there a "good" way to do it, working in all forms?

Thanks in advance
-- 
Nx GT-R



More information about the User mailing list