[Gambas-user] Beginers questions
Stephen Bungay
sbungay at ...981...
Fri Nov 14 17:40:48 CET 2008
Demosthenes Koptsis wrote:
> Hi to all,
>
> i have two simple questions as a beginner,
>
> 1) how to have access to control values from different forms?
>
Set the controls in all forms to be public as Werner suggests, or use
properties and strictly control what information gets exposed to the
outside world.
> For example i have 2 forms, Form1 and Form2
> I want to write something like the next code, in Form2
>
> ------- Form1 code ----------------
> TextArea1.Text="Hello world"
> -----------------------------------------
>
> ------- Form2 code ----------------
> Message.info(Form1.TextArea1.Text)
> -----------------------------------------
>
> but i cant. is there any way?
>
> 2) how to add a separator line with menu editor in a menu.
>
>
> I use gambas2-2.9.0 and openSuse10.2
>
> Thanks my friends for your time
>
Can't help you with this one.. I know I've done this but it was so
long ago now... I'g have to hunt down an example.
More information about the User
mailing list