|
Re: close event in non modal dialogs [message #16716 is a reply to message #16715] |
Thu, 12 August 1999 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Thorsten Holtkaemper (tholt@nef.wh.uni-dortmund.de) writes:
> I'm seraching for a method to catch the close event that is produced,
> when an IDL-Window is closed by the close button of the window frame, in
> a non modal dialog.
Typically, I handle widget destroy events like this with a CLEANUP
routine. I assign this to the top-level base by using the
CLEANUP keyword to the XMANAGER command. By doing this, I don't
care if my widget is killed by the QUIT button or by the user
wielding a mouse. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|
Re: close event in non modal dialogs [message #16720 is a reply to message #16715] |
Thu, 12 August 1999 00:00  |
wbiagiot
Messages: 59 Registered: January 1999
|
Member |
|
|
Thorsten Holtkaemper <tholt@nef.wh.uni-dortmund.de> wrote:
> Hallo,
> I'm seraching for a method to catch the close event that is produced,
> when an IDL-Window is closed by the close button of the window frame,
in
> a non modal dialog.
> Any ideas?
How about using the TLB_KILL_REQUEST_EVENTS option in the Widget_Base
call? Check the online help.
Bill B.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
|
|
|