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

Home » Public Forums » archive » Closing out of a Window
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: Closing out of a Window [message #50471 is a reply to message #50348] Fri, 29 September 2006 09:52 Go to previous messageGo to previous message
Braedley is currently offline  Braedley
Messages: 57
Registered: September 2006
Member
ChristopherFlorio@gmail.com wrote:
> Does anyone know of a way to link the event of closing a GUI window
> using the "x" with a procedure or function?

My predecessor used this in all his widgets. Makes sense to me. Don't
know if it does an actual cleanup, but don't really care either.

if (TAG_NAMES(event, /STRUCTURE_NAME) eq 'WIDGET_KILL_REQUEST') then
begin
widget_control, event.top, /destroy
return
endif
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Segmentation fault on Mac Intel Core 2 Duo
Next Topic: Re: READ TOMS AEROSOL

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

Current Time: Sat Oct 11 05:49:42 PDT 2025

Total time taken to generate the page: 0.18542 seconds