[Gambas-user] Modify a control in another form
richard
rterry at ...1823...
Sun Sep 23 00:23:09 CEST 2012
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.
>
> ------------------------------------------------------------------------------
> 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
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
More information about the User
mailing list