[Gambas-user] Realy simple question but hard to explain.....

Olivier Coquet olinux at ...289...
Sun Nov 2 13:21:43 CET 2003


here is the problem:

i have two form named F1 and F2, F1 is the starting form


here is the code for F1:

' Gambas class file

STATIC PUBLIC valvar AS String


PUBLIC SUB Button1_Click()
  

END

Here is the code for F2:

' Gambas class file

PUBLIC SUB Button1_Click()

  F1.valvar = "un test"
  
END

Here is the compile message error:

Unknown identifier: F1 at line 5 in F2.Class  (<=== transcript from French)


what is wrong??????????

thanks for your answer i'm blocked since yesterday with this "very" hard 
problem :=)

Olivier

PS for Benoit

Tout fonctionne bien avec RH9 et QT à jour pour la 0.71 :=)





More information about the User mailing list