Docking pane gripper |
Post Reply |
Author | |
Woody
Newbie Joined: 07 July 2004 Status: Offline Points: 20 |
Post Options
Thanks(0)
Posted: 20 September 2004 at 11:38am |
Is there a way to remove/hide the gripper from Docking Panes like you can in CommandBars?
And make a pane not moveable? Pane.Options = PaneNoCloseable Or PaneNoFloatable doesn't do it, and in an earlier post you said to use the following: Private Sub DockingPaneManager_Action(ByVal Action As XtremeDockingPane.DockingPaneAction, ByVal Pane As XtremeDockingPane.IPane, Cancel As Boolean) Cancel = True End Sub But this cancels all Actions. I have tried the following: Private Sub DockingPane1_Action(ByVal Action As XtremeDockingPane.DockingPaneAction, ByVal Pane As XtremeDockingPane.IPane, Cancel As Boolean) If Action = PaneActionDocking Then Cancel = True End If End Sub but I'm not sure which Action should stop docking, or what I'm doing wrong. any help appreciated, thanks. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
IDockingPaneOptions::ShowCaption = False
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Woody
Newbie Joined: 07 July 2004 Status: Offline Points: 20 |
Post Options
Thanks(0)
|
That removes the title caption and pinning button which I need, and effectively turns it into a splitter.
Is this the only way to make a pane not moveable? |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
If Action = PaneActionAttaching Or Action = PaneActionFloating Or (Action = PaneActionDocking And Not Pane.Hidden) Then
Cancel = True End If |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Woody
Newbie Joined: 07 July 2004 Status: Offline Points: 20 |
Post Options
Thanks(0)
|
That works just fine now. The gripper is still visible, but at least it won't dock elsewhere.
Many thanks for the reply. |
|
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 |