[Gambas-user] form control need help pleas...
Olivier Coquet
olinux at ...289...
Sat Nov 15 08:52:58 CET 2003
i have a class named F1 which is my main form containing a button1 control
named B1 and a TextBox control named TB1
I have a class named C which contain some sub to act on F1 controls
I instanciate C in F1 constructor correcly
I Call a sub routine in C when I click on B1
I get the handler of F1 in C constructor
sub in C is:
PUBLIC fen AS F1
PUBLIC SUB _new(hwnd AS F1)
fen = hwnd
END
public sub test()
fen.Text = "toto" '<=========this work perfectly
fen.TB1.Text = "toto" '<======this say me than no TB symbol exist in class F1
end
some body to help me????????
regards
olivier
Strat&Co
http://stratoria.dynu.net:85/
More information about the User
mailing list