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
145
Changing MdiParent will remove context menu in grid
posted

Hi,

I have a problem with changing MdiParent.

My app is like this.

I have two forms with UltraTabbedMdiManager in each form. I added a context menu on the Tab it self to be sent between the two forms.

I was using this code to send it between the forms:

a.MdiParent = Nothing
a.MdiParent = m_SencondaryMDIContainer

I needed to add MdiParent = Nothing to even get the form to be loaded correctly in the new MdiContainer.

But when I did that I lost the context menu of the Grid that I have in the MdiChild.

If I skip the MdiParent = Nothing then the context menu is still there but then it will not be loaded correctly.

Can this be done in some other way?

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

    What are you using to provide your context menu? Are you using a context menu of the UltraToolbarsManager?

    If so, then where is the UltraToolbarsManager? Is there an UltraToolbarsManager on the child form? Is there one on the Mdi parent form?

    Which one does the context menu come from?

    Does this work if you do not use the TabbedMdiManager? You can test this out by setting Enabled to False on the TabbedMdiManager.

Children