[Solved]runtime, show pane Floating & set Position |
Post Reply |
Author | |
sforces
Groupie Joined: 13 May 2009 Status: Offline Points: 71 |
Post Options
Thanks(0)
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 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
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.... |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
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.... |
|
sforces
Groupie Joined: 13 May 2009 Status: Offline Points: 71 |
Post Options
Thanks(0)
|
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.
|
|
Product: Xtreme Suite Pro (ActiveX) version 16.3.1
Platform: Windows XP SP3 (32bit) Language: Visual Basic 6.0 SP6 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |