Print Page | Close Window

[Solved]runtime, show pane Floating & set Position

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=17066
Printed Date: 15 May 2024 at 4:17am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [Solved]runtime, show pane Floating & set Position
Posted By: sforces
Subject: [Solved]runtime, show pane Floating & set Position
Date Posted: 04 August 2010 at 3:57pm
I have a pane layout with 5 panes. And 6th is closed. At run time, I need to show this 6th pane, under pane #5 and it needs to be floating.

How can I find out the left and bottom of pane #5 so that I can set the left and top of where the floating pane #6 should be shown? I think I should use: DockingPane1.FloatPane mypane6, Left, Top, Right, Bottom

So if I could know pane #5's Left, Top, Right, Bottom -- then I would be able to use that and set the position.

-------------
Product: Xtreme Suite Pro (ActiveX) version 16.3.1

Platform: Windows XP SP3 (32bit)

Language: Visual Basic 6.0 SP6



Replies:
Posted By: Aaron
Date Posted: 07 August 2010 at 9:48am
Hi,
 
There are no properties available for size and position.
 
But here's small demo how you can get around this... (If understand correct )
 
http://forum.codejock.com/uploads/20100807_094804_FloatingPaneEx.zip - uploads/20100807_094804_FloatingPaneEx.zip
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: Aaron
Date Posted: 09 August 2010 at 10:34am
Hi,
 
Did you try it already? Did I understand correctly what you wanted to accomplish?
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: sforces
Date Posted: 09 August 2010 at 1:15pm
Aaron,

Great workaround, thanks! I had had GetWindowRect before, and hadn't thought of using it for this. Although I would still love to get the properties from the pane. Hopefully CJ will add it as a feature for upcoming release.

Originally posted by Aaron Aaron wrote:

Hi,
 

Did you try it already? Did I understand correctly what you wanted to accomplish?

 

 


-------------
Product: Xtreme Suite Pro (ActiveX) version 16.3.1

Platform: Windows XP SP3 (32bit)

Language: Visual Basic 6.0 SP6



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