[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: close event in non modal dialogs

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. :-)


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