Hi. I'm working on an application that was first developed using version 2006.2 of the Win Dock Manager component. Now, we've upgraded to the 2010.2 release. Something has changed and I cannot figure out what it is.
The Dock Manager is allowing the user to drop a docked control onto an empty area of the screen. The Navigator is enabling the center area (group area) when there's nothing under it. When the control is dropped, the control disappears from view. Here's a screen shot of what the navigator looks like:
Can anyone please tell me how to set up the Dock Manager so controls cannot be dropped like this? I only want the group area of the navigator to be enabled when the drop target is another docked control.
Thanks.
Thank you very much! That solved my problem.
You can get these indicators by setting the DockManager's DragWindowStyle property to LayeredWindowWithIndicators. The middle should become active if you have an MDI application/TabbedMDIManager and it will convert the DockableControlPane into an MDI Child. Also it will become enabled if you try to dock into a DockArea that allows a ChildPaneStyle of TabGroup.
If you do not want it at all set the DefaultPaneSettings.AllowDockAsTab to false. For an MDI app set the DefaultPaneSettings.CanDisplayAsMdiChild to false. Those two settings should cover the scenarios you described above. You can also set the properties on specific panes if you like instead of the default for all panes.
I just reread your post... you want the CanDisplayAsMdiChild setting.