The way i use is to set PUBLIC variables in a Module. Then before ShowModal i set these variables and read them from the modal form.
See example Tests. On Mon, 2010-10-18 at 17:21 +0300, Biro Zoltan 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
Tests.tar.bz2
Description: application/bzip-compressed-tar
------------------------------------------------------------------------------ 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
