Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - Docking pane gripper
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Docking pane gripper

 Post Reply Post Reply
Author
Message
Woody View Drop Down
Newbie
Newbie


Joined: 07 July 2004
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote Woody Quote  Post ReplyReply Direct Link To This Post Topic: Docking pane gripper
    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.


Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 21 September 2004 at 7:13am
IDockingPaneOptions::ShowCaption = False
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Woody View Drop Down
Newbie
Newbie


Joined: 07 July 2004
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote Woody Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Woody View Drop Down
Newbie
Newbie


Joined: 07 July 2004
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote Woody Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.