On 12-09-22 06:23 PM, richard wrote:
> On 23/09/12 08:03, Keith Clark wrote:
>> How do I modify settings of a control on another form?  Let's say that I
>> want to be able to control the number of rows and columns of a grid
>> view, gvSampleGrid, on form, fGameGrid from form, fGameSetup.
>>
>> Would it not be fGameGrid.gvSampleGrid.rows.count=10?
>>
>> I am working with the book A beginner's Guide to Gambas but find it
>> confusing on the basics.
>>
>> Thanks.

>> If you have set your projects options to make your controls public you
>> can address any control on anther form with the correct syntax
>>
>> What error message to you get when you run your code?
>>
>> richard
>>
>>
That is exactly what I didn't do!  Set the controls to public.  Done now 
and it works fine.  Thanks!

Keith


------------------------------------------------------------------------------
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to