[Gambas-user] Values between forms..

Robert Moss the.at.robert at ...626...
Sat Nov 8 17:02:59 CET 2008


in Form1 you could create :

PUBLIC SUB ChangeTextBox(Value as String)
  Text1.Text = Value
END SUB

and in form 2:

PUBLIC SUB Button_Click()
   Form1.ChangeTextBox(form2Textbox.text)
End Sub



On Fri, Nov 7, 2008 at 10:18 AM, Oscar Cascante Fonseca <
ocascante at ...2009...> wrote:

> Hi, i am new in gambas..
>
> I don't find in the archives any post about how to pass values between
> forms.
>
>
>
> Ej:
>
>
>
> Form1 with a textbox control
>
> Form 2 with a button control
>
>
>
> When you click in Form2.button, the Form1.textbox.text change.
>
>
>
> Could somebody help me?
>
>
>
> Thanks.
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list