Dim MyForm as New SomeForm MyForm.MyVariable1 = Something MyForm.MyVariable2 = SomethingElse ...
MyFrom.Showmodal() Jussi On Mon, Oct 18, 2010 at 17:21, Biro Zoltan <[email protected]> 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
