Print Page | Close Window

Float pane method

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=1585
Printed Date: 19 May 2024 at 12:37am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Float pane method
Posted By: Maui
Subject: Float pane method
Date Posted: 24 December 2004 at 5:09am

Assuming I had a docked window and I used the float pane method to float it, what method could I then use to return it back to its docked state?

Thanks




Replies:
Posted By: SuperMario
Date Posted: 24 December 2004 at 8:31pm
You would need to destroy the pane and create a new one.  When you create it, you can place it in it original state.  You will need to keep track of the location, remember, that when a pane is destroyed, the object attached still exists, so you can attatch the old object back to the new pane.  Take a look at how the reading pane is moved by code in the Outlook 2003 sample.



Posted By: Maui
Date Posted: 25 December 2004 at 5:14am

Thanks for the work around.

Is a propper DockPane method planned for future releases?

As I have already said I consider the ability to float and dock a pane to be fundamentals of a control of this type. To have to go to the extreme of destroying the pane and recreating again in its new location seems extreme.

The functionality I am suggesting already exists, it happens when you double click the title bar of a floating pane. I would like to see is this same functionality in a single call.

Thanks




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