how to drag child form from mdi
-
venerdì 3 agosto 2012 10:23How can I tear away a child form from its mdi parent so that I can move to another position on the screen?
rwb
Tutte le risposte
-
venerdì 3 agosto 2012 10:52
Basically, you can't. This is caused by how MDI works.
Untested: My approach would be using a view concept, which is isolated from forms. Then you can start such a drag by creating a new single (SDI) form and just changing the parent of the view from the MDI form to the new form..
-
venerdì 3 agosto 2012 16:55I vaguely recall doing this in VB a couple of years ago but I think it was with a toolbar button that changed its status as child form. Unfortunately, I can't find the source code. What about tabbed documents as used in VS2010? Does anybody on this forum know how that's done? It doesn't have to be MDI.
rwb
- Modificato rwbta2 venerdì 3 agosto 2012 16:56
-
sabato 4 agosto 2012 12:10
I seem to have found what I was looking for at: https://github.com/dockpanelsuite/dockpanelsuite.
rwb
- Contrassegnato come risposta rwbta2 sabato 4 agosto 2012 12:10
-
sabato 4 agosto 2012 13:58
As far as I can see, it does not allow you to drag out a MDI child window to a stand-alone window..
-
sabato 25 agosto 2012 16:55It doesn't need to. I can create "child-like" forms and dock in "parent-like" form or tear them away as desired. It does have some features related to mdi forms, I didn't look it that because I don't need it after all. The docking features are what I really wanted.
rwb

