Window Bug using Widgets [message #1284] |
Fri, 13 August 1993 09:29 |
smyth
Messages: 2 Registered: August 1993
|
Junior Member |
|
|
I'm running IDL version 2.3.2 under OPEN LOOK. I've run into a bug, which can
be distilled to the following example:
PRO Xbug_ev, event
PRINT, "Going Into Window"
WINDOW, 0, xs = 1000, ys = 800
PRINT, "Leaving Window"
END
PRO Xbug
Xbugbase = Widget_Base(TITLE = "Xbug")
Xmenu, ["Press Me"], Xbugbase
Widget_Control, Xbugbase, /REALIZE
XManager, "Xbug", Xbugbase, EVENT_HANDLER = "Xbug_ev"
END
When run and "Press Me" is clicked, the progam hangs in the WINDOW statement.
"Going Into Window" is printed, but "Leaving Window" never is and idl needs to
be killed.
Is this a commonly known bug? Is there any work around? Or am I doing something
wrong?
Thanks,
Mike Smyth
smyth@nokomis.jpl.nasa.gov
|
|
|