[Gambas-user] Accessing control in different form

Rizky Tahara Shita rizky at ...225...
Tue Aug 12 03:56:29 CEST 2003


Hi,

i'm trying gambas with 2 forms. the first form (say Fmain) showmodal the 
second form (say Fsecond). In Fmain there is a textbox and when a button in 
Fsecond pressed the Fsecond will close and the textbox.text in Fmain will 
have a words "hello world". how do i do like that in gambas ??

when in VB, the example like that above could be accessed by the following 
code:

# here is the code in Fsecond:

Private Sub Button1_Click()
	Fmain.textbox1.text="xx"
	Unload Me
end sub


yeah.. that example just works in VB... not in gambas...

can anyone help ?





More information about the User mailing list