[Gambas-user] Request for info re user-made dialog

Rolf-Werner Eilert eilert-sprachen at ...221...
Thu Feb 7 08:18:54 CET 2008


richard terry schrieb:
> Well, not the dialog, but an example of how to get back information the user 
> has entered into a component of a popup form.
> 
> I've a custom dialog, and want to return the contents of a combo box on the 
> form.
> 
> Any help appreciated.
> 
> Thanks
> 
> Richard


Hi Richard,

There is mainly one way I do this: In the form that calls the dialog box 
you declare a couple of variables as PUBLIC. From the dialog box you can 
reach them by quoting the calling form (myCallingForm.myVariable).

After closing the dialog (in case of a modal dialog), the program in the 
calling form can read the values from there.

Was this what you asked for?

Rolf




More information about the User mailing list