Print Page | Close Window

Docking pane gripper

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=1191
Printed Date: 15 May 2024 at 3:35am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Docking pane gripper
Posted By: Woody
Subject: Docking pane gripper
Date 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.





Replies:
Posted By: Oleg
Date Posted: 21 September 2004 at 7:13am
IDockingPaneOptions::ShowCaption = False

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Woody
Date Posted: 21 September 2004 at 7:26am
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?


Posted By: Oleg
Date Posted: 22 September 2004 at 12:02am
    If Action = PaneActionAttaching Or Action = PaneActionFloating Or (Action = PaneActionDocking And Not Pane.Hidden) Then
        Cancel = True
    End If


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Woody
Date Posted: 22 September 2004 at 6:16am
That works just fine now. The gripper is still visible, but at least it won't dock elsewhere.
Many thanks for the reply.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net