The first difference I noticed is the use of AnchorDockPanel. Also, both examples use the DockMaster.OnCreateControl event.
However, in the first example (minide) after closing the (last) docked window, I also could not add (dock) another window.
For that, the second example (minidedockpanel) works just fine.
I used AnchorDockPanel in my program and... flop. Exactly the same behavior. The last docked window, after closing, blocked the possibility of docking a new window.
Maybe the problem lies in how I manage floating windows?
Because I create each such window while the program is running.
I do it according to the Wiki instructions, ie:
DockMaster.MakeDockable(VForm,true,true);
I can also close them - Form.Close method, where CloseAction:=caFree). However, in this case I am not doing anything else. Or should I? For example, check if this is the last visible window and if it is, reallocate main window to DockMaster using
DockMaster.MakeDockable(MainForm);
