Re: Still getting trouble with ROI's [message #37905 is a reply to message #37904] |
Mon, 02 February 2004 08:16   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Nuno Oliveira writes:
> I was looking into that now, :(.
>
> I don't understand the code sequence. What is that "own event loop"?
Actually, this doesn't look too hard to me.
Just define a couple of keywords to get back
what you want, then in the "all done" portion
of the code (near the bottom), fill up your keywords
before you return the "xy" variable. You will probably
have to do some checking for the various things "xy"
can be, but basically you just want to decompose
that variable, I think.
"Own event loop" means the program is not using XManager
to check for events. This program is what you might call
a "hypermodal" widget. You ain't doin' nothin' until this
program is finished!
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
|
|
|