Re: GUI parameter passing :NEWBIE [message #40245] |
Fri, 23 July 2004 07:05 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Kevin writes:
> First off I'm a NEWBIE to IDL application programming.
Oh, well, you are welcome here, too. :-)
> I'm developing a GUI application in IDL. All I want to do is pass
> variables from one Dialog window to another, but can not figure out
> how to do this. For example GUI1 has a BUTTON Widget and in the
> ONButtonPress event handler I call GUI2 (GUI2,GROUP=Event.top) which
> launches GUI2, however I need to pass some values from GUI1 so that
> they can be inserted into GUI2's text widgets.
Oh, oh. You aren't using the GUI Builder, are you?
You won't learn how to write widget programs that way. :-(
How about calling GUI2 like this:
GUI2, GROUP=event.top, STUFF=bunchOfStuff
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|