[Gambas-user] Call control from one module

Jussi Lahtinen jussi.lahtinen at ...626...
Thu May 13 00:08:12 CEST 2010


Project properties --> Check: Form controls are public.

Jussi


On Thu, May 13, 2010 at 00:45, craf <prog at ...2177...> wrote:
> Hi.
>
> I need to call a control that is located on the main form from a module,
> for this I have dealt with the following code:
>
> 'in module
>
> public sub proc_add()
>
> Fmain.control.text= "Hello"
>
> end sub
>
> But this form of call control does not work.
>
> Regards
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list