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 Reply Children