![]() |
how to disable pane movement |
Post Reply ![]() |
Author | |
tobi ![]() Senior Member ![]() ![]() Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
![]() ![]() ![]() ![]() ![]() Posted: 11 October 2005 at 10:30am |
Is it possible to prevent a docking pane (with caption bar) from being moved ?
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello, Catch Action event. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
tobi ![]() Senior Member ![]() ![]() Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
![]() ![]() ![]() ![]() ![]() |
Iīve tried to cancel the "PaneActionDocking" action, but then I canīt open and pin the docking pane !
![]() |
|
![]() |
|
tobi ![]() Senior Member ![]() ![]() Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
![]() ![]() ![]() ![]() ![]() |
Any suggestions ?
|
|
![]() |
|
nighthawk ![]() Senior Member ![]() ![]() Joined: 11 June 2004 Status: Offline Points: 167 |
![]() ![]() ![]() ![]() ![]() |
How about:
DockingPaneManager.Options.DefaultPaneOptions = PaneNoFloatable |
|
![]() |
|
tobi ![]() Senior Member ![]() ![]() Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
![]() ![]() ![]() ![]() ![]() |
Iīve tried that already, but with that option the pane can still be dragged to left, right, top and bottom of the window ...
|
|
![]() |
|
mcaldwell ![]() Newbie ![]() Joined: 07 September 2005 Status: Offline Points: 11 |
![]() ![]() ![]() ![]() ![]() |
I am wanting to do the same thing. Any luck with this issue? Thanks... |
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
As I understand it, you want _All_ actions disabled?
Private Sub DockingPaneManager_Action(ByVal Action As XtremeDockingPane.DockingPaneAction, ByVal Pane As XtremeDockingPane.IPane, Cancel As Boolean) On Error Resume Next Cancel = True End Sub |
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
To also allow pinning:
Private Sub DockingPaneManager_Action(ByVal Action As XtremeDockingPane.DockingPaneAction, ByVal Pane As XtremeDockingPane.IPane, Cancel As Boolean) On Error Resume Next If Action = PaneActionFloating Or Action = PaneActionAttaching Then Cancel = True End If If Action = PaneActionDocking Then Cancel = Not Pane.Hidden End If End Sub Edited by SuperMario |
|
![]() |
|
tobi ![]() Senior Member ![]() ![]() Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
![]() ![]() ![]() ![]() ![]() |
Dear Supermario, Another question: I saw you did some "Question/Answer" posts on some other topics. Is there any way to access your Question/Answer archive ? |
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
tobi,
It is a work in progress and is an effort to give Codejock customers better help. |
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
Ok tobi,
Here is the link to the CommandBars ActiveX Knowledge Base. http://www.codejock.com/support/kb_activex/commandbars/ also can be accessed though this links: http://www.codejock.com/support/kb.asp Hope you like them. |
|
![]() |
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 |