Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I need to perform certain custom processing whenever an MDI child form is added to/removed from the MDIContainer form. How do I determine this?

0
Posted

I need to perform certain custom processing whenever an MDI child form is added to/removed from the MDIContainer form. How do I determine this?

0

MDIContainer forms have an MDIClient child window and it is to this MDIClient window that MDI child forms are parented. The MDIClient’s ControlAdded/ControlRemoved events will be fired whenever a child form is added or removed. You can subscribe to these events and add the required processing code from within the handlers.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123