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

Home » Public Forums » archive » Re: Exiting widget application
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: Exiting widget application [message #1539] Mon, 29 November 1993 08:06 Go to previous message
offenbrg is currently offline  offenbrg
Messages: 31
Registered: August 1993
Member
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$ .

"EXIT" means "Exit from IDL," not "Exit from this routine."

If you wish to quit from a procedure or function, use RETURN, or just END
the routine as you would normally.

You can not issue an EXIT (from IDL) command from within a Widget routine.
You can from other routines, but XMANAGER prevents you from aborting a
Widget-routine with a STOP or with an EXIT.

Hope this helps,
Joel
--
Joel D Offenberg | "Aren't you in the position of a life-long
Hughes STX/ UIT Science Team | vegetarian giving us your recipe for steak
offenbrg@fondue.gsfc.nasa.gov | and kidney pie?" - Rumpole of the Bailey
I get paid to stare into space. |
[Message index]
 
Read Message
Read Message
Previous Topic: IDL (Interactive Data Language) FAQ
Next Topic: bidirectional pipes in SunOS

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

Current Time: Wed Oct 08 19:09:33 PDT 2025

Total time taken to generate the page: 0.00630 seconds