Force Pane to dock back to original location |
Post Reply |
Author | |
jasonpa123
Newbie Joined: 06 May 2010 Location: United States Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 21 May 2010 at 4:40pm |
Is it possible in the dockingpanemanager action event, to programmatically force a pane to dock back to it's original position?
I realize it may appear to behave oddly to the user, but people higher up then me would like the pane to dock back to the right side of the screen regardless of where the user tries to dock the pane.
Any suggestions would be greatly appreciated.
Thanks
Jason
|
|
Jason
|
|
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
|
Hi,
You say you want a DockingPane to dock back to it's original position regardless of where a user tries to dock them?! There's no point allowing a user to play around with a DockingPane if you don't allow them to place it where they want. Therefore I believe you should just remove this functionality, that way the user cannot select a DockingPane and try to move this about the screen. The following code does just that:
|
|
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
I think Jason means docking pane on original location AFTER user floated the pane. If I'm not mistaken I replied in another thread that it isn't possible with current version...
I would like this option also and it shouldn't be to hard to implement because DP already "knows" position of panes (double clicking Pane results in docking Pane to its original location...)
Thanks a lot in advance
|
|
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,
I have been trying to get this working but I get application errors, not always but sometimes. I see this happening once a pane is docked inside container (as tabs) dragging the pane back to another location is causing a crash. I must be doing something wrong... Please check out the code in Action event!!!
Thanks a lot
|
|
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.... |
|
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 |