Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
430
Merging Toolbars Menu Items
posted

Is it possible to have the menu merging mechanism between a child form to a MDI parent form applied to the User Controls?

I have two User Controls in a parent child relation, each having its own Menu. I would like the inner user control Menu to merge in the pareant's one, same way the Win Form  - MDI Form works.

Is this possible? If yes, could you please point me to an example so I can take some inspiration from?

 Thanks. 

  

 

 

 

  • 44743
    posted

    Yes it is possible. Set MdiMergeable to False on both the parent and child managers. Then either set the ActiveMdiChildManager of the parent to the child manager or set the MdiParentManager of the child to the parent manager.