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
2334
Prevent a pane from being an mdi child
posted

I have a form set as a MDI container with a dock manager and an tabbed mdi manager.  My goal is to prevent a group of panes from being anything but floating.  I do not want the panes removed from the group or docked in any position.  So far I set the AllowDockTop, AllowDockBottom, AllowDockLeft, AllowDockRight and CanDisplayAsMdiChild to False.  This prevents the panes from being docked but it does NOT prevent them from being displayed as an mdi child.  When I drag the group of panes all dock indicators are invalid drop locations EXCEPT for the center indicator which will make each pane in the group an MDI tab in my form.  I want to prevent this from happening.  I expected the CanDisplayAsMdiChild = False to prevent this but it does not. 

 How can I achieve this behavior?

 Thanks.

Parents
No Data
Reply Children