[Gambas-user] Form with parameters
Charlie Reinl
Karl.Reinl at ...2345...
Mon Oct 18 17:30:09 CEST 2010
Am Montag, den 18.10.2010, 17:21 +0300 schrieb Biro Zoltan:
> HI,
>
> Can I make forms with parameters passed from the main form?
>
> Normally I use the form like this:
>
> PUBLIC SUB button1_Click()
> Childform.showmodal
> END
>
> BUT I need to pass some parameters to the child form. How can I do this?
>
> PUBLIC SUB button1_Click()
> Childform(x,y,..etc parameters).showmodal
> END
> ..or simply I have to use public variables?
>
> Thank you,
> Zoli B.
>
Salut Zoli,
you can pas then in NEW or Run, or by a Public Sub/Function between NEW
and Show.
--
Amicalement
Charlie
More information about the User
mailing list