Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

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

SRP Computer Solutions


At 25 NOV 1998 01:09AM Greg James wrote:

Thanks for the advice Don.

Greg

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/3b20ca10c5ea1151852566c600550977.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1