M
Mike
I've found that if the user clicks the Close button or clicks to use the
Control box when closing a child form, it doesn't initiate an event in the
main form even though I've tied Ctrl+F4 to a main form event,
"FileClose_Click", for some additional processing. So, using Ctrl+F4 or
File\Close from the main menu work fine, but I need to tie in the mouse
clicks.
I've tried firing a user event when the "<form name>_Closed" and "<form
name>_Closing" events are fired to the listening main form so that
"FileClose_Click" can then be called. However, "FileClose_Click" expects
the child to be closed by this time and, evidently, it's not (I use
"this.ActiveMdiChild" to detect this).
Is there a way to do this? Thanks.
-Mike
Control box when closing a child form, it doesn't initiate an event in the
main form even though I've tied Ctrl+F4 to a main form event,
"FileClose_Click", for some additional processing. So, using Ctrl+F4 or
File\Close from the main menu work fine, but I need to tie in the mouse
clicks.
I've tried firing a user event when the "<form name>_Closed" and "<form
name>_Closing" events are fired to the listening main form so that
"FileClose_Click" can then be called. However, "FileClose_Click" expects
the child to be closed by this time and, evidently, it's not (I use
"this.ActiveMdiChild" to detect this).
Is there a way to do this? Thanks.
-Mike