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.

-------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to