[Gambas-user] Form with parameters
Jussi Lahtinen
jussi.lahtinen at ...626...
Mon Oct 18 17:46:16 CEST 2010
Dim MyForm as New SomeForm
MyForm.MyVariable1 = Something
MyForm.MyVariable2 = SomethingElse
...
MyFrom.Showmodal()
Jussi
On Mon, Oct 18, 2010 at 17:21, Biro Zoltan <office.zolano at ...626...> wrote:
> 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.
>
>
>
> ------------------------------------------------------------------------------
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> Flex(R) Builder(TM)) enable the development of rich applications that run
> across multiple browsers and platforms. Download your free trials today!
> http://p.sf.net/sfu/adobe-dev2dev
> _______________________________________________
> 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