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

Home » Public Forums » archive » Re: How to return Values from an options dialog widget to the main program (Pointers)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How to return Values from an options dialog widget to the main program (Pointers) [message #54010] Tue, 15 May 2007 06:45
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Patrique writes:

> Now, that my *main tool* becomes more and more
> sophisticated, I've come to the point where a modal options dialog
> widget might be helpful. This widget can be called from the menu bar.
> As I figured out at David Fannings web site, pointers should be the
> most convenient way to get the variables that can be set in the
> options dialog back to my main program. Well...that's the point that
> leads to my question:

I think you might want to read that pop-up dialog
article again:

http://www.dfanning.com/widget_tips/popup.html

This time pay careful attention to the fact that the
pop-up dialog is a FUNCTION that returns the pointer
value as the result of the function. If you wish to
use that value in another part of your program, then
you are going to have to store it somewhere.

Your dialog program is a PROCEDURE, and the value
is never stored. That's why you can't find it.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Previous Topic: thick-bold lines?
Next Topic: Re: thick-bold lines?

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

Current Time: Tue Oct 21 14:33:31 PDT 2025

Total time taken to generate the page: 0.24022 seconds