comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: GUI parameter passing :NEWBIE
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: GUI parameter passing :NEWBIE [message #40245] Fri, 23 July 2004 07:05
David Fanning is currently offline  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/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: GUI parameter passing :NEWBIE
Next Topic: Re: database connection with idl without dataminer

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 00:16:26 PDT 2025

Total time taken to generate the page: 1.20243 seconds