Print Page | Close Window

mDI Floating pane positions

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=18046
Printed Date: 04 May 2024 at 12:27am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: mDI Floating pane positions
Posted By: rogue
Subject: mDI Floating pane positions
Date Posted: 13 March 2011 at 7:43am

Hi

I want to use the Docking Panes within my MDI application.  Each MDI Child form will have two or three docking panes (initially docked) attached to it.

For users with enough screen space, or possibly two screens, I want to be able to let them float some of the panes away from the child.

I have the basics of that working fine.  The docking panes are brilliant by the way, so easy to create a wonderfully rich and professional loking interface.

However, if I float one of my panes, called Tree, from Child1 (say) and then switch to Child2 I still see the floating Tree pane for Child1 which is fair enough.  The equivalent Tree pane for Child2 is still docked, which is also fine.

I altered the code to set all of Child1's panes to hidden when Child2 is activated which got around the problem above but then when I switch back to Child1 the floating pane re-docks itself.

I would like the panes to remember where there were so the users can switch back and forth and have each Child maintain its own pane positions.

I was a bit surprised that setting/unsetting Hidden caused the floating pane to re-dock.  Is that expected behaviour?

Is so, can I overirde it without having to code lots of positional 'memory' variables against each pane.

I am fairly new to the docking pane controls and have tried a search for this issue but couldn't find a similar problem.

Thanks

Simon







Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net