Re: [Gambas-user] Form with parameters

2010-10-18 Thread Jussi Lahtinen
Dim MyForm as New SomeForm MyForm.MyVariable1 = Something MyForm.MyVariable2 = SomethingElse ... MyFrom.Showmodal() Jussi On Mon, Oct 18, 2010 at 17:21, Biro Zoltan wrote: > HI, > > Can I make forms with parameters passed from the main form? > > Normally I use the form like this: > > PUB

Re: [Gambas-user] Form with parameters

2010-10-18 Thread user
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

Re: [Gambas-user] Form with parameters

2010-10-18 Thread Charlie Reinl
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.

[Gambas-user] Form with parameters

2010-10-18 Thread 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