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

Home » Public Forums » archive » Re: Trouble wih events
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: Trouble wih events [message #36770] Wed, 29 October 2003 05:54 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Nuno Oliveira writes:

> I have a problem with a routine that handles my widget events. I would like
> to know if someone here could give me a tip.
>
> When an event is recognized the program is supposed to execute a function
> (that is also a widget application) that returns an important variable. But
> it seems that the program doesn't wait to the function to terminate and
> executes the remaining statements on the event routine. The result is that I
> don't get my new variable (the one returned by the function).
>
> I thought the event routine would wait for the function to continue the
> execution but apparently, it doesn't... and the variable is in a COMMON
> block between the main program and the event routine

What you want is what I call a "pop-up" or "modal" dialog widget.
Here is how it is done:

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

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Previous Topic: Best Path Through a Vector Field
Next Topic: Re: big file navigation

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

Current Time: Fri Oct 10 06:39:56 PDT 2025

Total time taken to generate the page: 0.80325 seconds