Re: Exiting widget application [message #1543 is a reply to message #1539] |
Mon, 29 November 1993 04:03  |
utermann
Messages: 1 Registered: November 1993
|
Junior Member |
|
|
In article <ITIJBE9I@gwdu03.gwdg.de>, plewe@dl.mpi-dortmund.mpg.de (J.Plewe) writes:
|>
|> How can I leave a widget application? I tried something like this:
|>
|>
|> wdelete,0
|> Widget_Control, event.top, /DESTROY
|> exit
|>
|>
|> After this, the system really leaves IDL but generates this message:
|>
|>
|> % Callback routines must not STOP or EXIT
|> % Execution halted at XMANAGER </mpisys/idld/r3.1/lib/widgets/xmanager.pro(
|> 450)> .
|> % Called from ROUT <rout.pro( 190)>.
|> % Called from $MAIN$ .
|>
|>
|> How can I avoid this? What is wrong?
|>
|>
|> Thanks, Joerg Plewe, MPI-Dortmund, Germany
|>
|>
I do not know the reason for this, but I can tell you, it's not
the wdelete or widget_control command you used -- at least, only
in combination with some other command. I use exactly the same
widget_control command and I added the wdelete to my application,
but every thing is o.k. (I use IDL 3.1.0 on IBM RS6k)
Good luck, Ralf
--
Ralf Utermann
____________________________________________________________ _________
University of Augsburg (Germany)
Institute of Physics - Theoretical PhysicsI & Computer Center
Memmingerstr.6 "Speaking for me and nobody else"
D-86135 Augsburg Tel.: +49 +821/5977-235
SMTP: Utermann@Uni-Augsburg.DE Fax : 5977-225
|
|
|