Closing MDI Frames (OpenInsight Specific)
At 24 NOV 1998 10:28:49AM Greg James, ISIS, Inc. wrote:
I have a close button on an MDI frame. The click event for this button finds out which MDI child is active and then closes all other non-visible MDI child forms before closing the frame. This prevents the user from seeing each MDI child form closing.
Is there a way to accomplish something like this when the user clicks the 'Close Window' button (the one to the right of the maximize button) that is standard on all windows?
Thanks.
gjames@cyberhighway.net onmouseover=window.status=email greg james;return(true)"
At 24 NOV 1998 11:54AM Don Bakke wrote:
Greg,
Why don't you put the code in the CLOSE event of the MDI Frame? This should take care of every way the user can close the window (Close button, Alt-F4, System menu, etc.) Also, something else you could do is simply make the MDI Frame invisible, which will make everything else invisible, then close everything normally. This should make your code simpler to work with.
dbakke@srpcs.com
At 25 NOV 1998 01:09AM Greg James wrote:
Thanks for the advice Don.
Greg