Print Page | Close Window

Initial position of floated panes

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=6365
Printed Date: 14 May 2024 at 2:05am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Initial position of floated panes
Posted By: DaveS
Subject: Initial position of floated panes
Date Posted: 09 February 2007 at 6:54pm
If I float a docked pane by double-clicking on its title bar, the floated pane occupies the same position on screen as did the docked pane. Instead I want to move the floated pane to the center of the screen.
 
I can do this by catching xtpPaneActionFloated. However, a problem is that I only want to center it if a persisted position for the floating pane does not already exist - ie the user hasn't already positioned the floated pane manually. And note the user may have positioned it last time the application was run, since the floated position is persisted.
 
How can I detect that the pane has been floated for the first time?
 
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