[Gambas-user] Fwd: Sending Data From one Form to another

Steve Starr comtux at ...626...
Thu Aug 25 09:10:42 CEST 2005


---------- Forwarded message ----------
From: Steve Starr <comtux at ...626...>
Date: Aug 25, 2005 3:57 AM
Subject: Sending Data From one Form to another
To: gambas at ...1...


I have read the examples on global varibles but i am still haveing a
hell of a time.

What i want to do is.

I have to forms Form1 & Form2

Form1 has a Editor1 Component
And
Form2 has a Button1 Component

Now what i want to do is when i click on Button1 in Form2
have the word hello writen to the Editor1 component.

So Editor1.Insert("hello")

I tried Form1.Editor1.Insert("hello") but that didnt work.
Then i tried creating a Gambas module file but i think i am a little
confused about exactly how to use module files to declare a varible.

Thanks for any help




More information about the User mailing list