[Gambas-user] Beginers questions

Ron ron at ...1740...
Fri Nov 14 17:22:15 CET 2008


Werner schreef:
> 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?
>   
>

Do insert menu, and clear the Caption field, ie an empty menu entry.

Regards,
Ron_2nd.






More information about the User mailing list