Closing event in a MID Child form I don't know if the child form is closing or the main form is clos

  • Thread starter Thread starter **Developer**
  • Start date Start date
D

**Developer**

When I get a closing event in a MID Child form I don't know if the child
form is closing or the main form is closing.

Is there a way to tell?

Thank
 
Well, technically, if the main form is closing, the child form is
closing as well (since the child can't live outside of the main form). And
if just the child is closing, then the event would fire as well.

You can always attach to the closing event of the main form (from within
the child) in order to figure out when the main form is closing as opposed
to just your child form.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top