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
205
Is it possible to tear-off a child form using the tabbedmdimanager?
posted

TabbedMdiManager is really cool. However, I wont be able to tear off the child window (which will make it a floating window).

Is there any way achieve it?

Parents
No Data
Reply
  • 44743
    Verified Answer
    posted

    Instead of making your child window an mdi child form, you can add an UltraDockManager to the parent form and dock the child window. Then you can get the DockableControlPane which hosts the child window (by passing the child window into the dock manager's ControlPanes collection's indexer) and set IsMdiChild on the pane to True. This will add it as an mdi child to the parent form. However, you will not be able to 'tear off' the form as you would normally tear off a dock pane. You will need to right click the form caption (or the form tab if you have a tabbed mdi manager on the form), and check 'Dockable' in the context menu that appears.

Children