Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - [Solved]runtime, show pane Floating & set Position
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[Solved]runtime, show pane Floating & set Position

 Post Reply Post Reply
Author
Message
sforces View Drop Down
Groupie
Groupie


Joined: 13 May 2009
Status: Offline
Points: 71
Post Options Post Options   Thanks (0) Thanks(0)   Quote sforces Quote  Post ReplyReply Direct Link To This Post Topic: [Solved]runtime, show pane Floating & set Position
    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
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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 )
 
 
 
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....
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
sforces View Drop Down
Groupie
Groupie


Joined: 13 May 2009
Status: Offline
Points: 71
Post Options Post Options   Thanks (0) Thanks(0)   Quote sforces Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.171 seconds.