[Gambas-user] Crossed interexchange between forms

Pino Zollo pinozollo at ...626...
Sat Mar 29 23:20:02 CET 2008


Thanks Stefano,
Now all works fine !
Also my first big program in Gambas2

Ciao
Pino

---------------------------------------------------------------------------

I opened your project. The FMain Form_Open() function is wrong:
Here it is the right way:

PUBLIC SUB Form_Open()
  
  ' DIM Frma AS FormA
  ' DIM FrmB AS FormB
    ME.Center
    ME.Show
    ' Frma = NEW FormA
    ' Frma.Visible = TRUE
    ' 
    ' FrmB = NEW FormB
    ' FrmB.Visible = TRUE
    
    FormA.Show
    Formb.Show
   
END

I commented out the wrong code.

Bye,

Stefano




More information about the User mailing list