[Gambas-user] Beginers questions

Werner wdahn at ...1000...
Fri Nov 14 17:15:01 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?
>
> 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?
>   
In Project Properties there is a checkbox "Form Controls are public".
> 2) how to add a separator line with menu editor in a menu.
>   
Have to pass on this one. Have you tried just a minus sign?
>
> I use gambas2-2.9.0 and openSuse10.2
>
> Thanks my friends for your time
>
>   





More information about the User mailing list