Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - Using AttachPane to make a group of 3 panes
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Using AttachPane to make a group of 3 panes

 Post Reply Post Reply
Author
Message
joecasa View Drop Down
Newbie
Newbie
Avatar

Joined: 13 March 2007
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote joecasa Quote  Post ReplyReply Direct Link To This Post Topic: Using AttachPane to make a group of 3 panes
    Posted: 13 March 2007 at 3:32pm
I have three panes that I want to have at the bottom of my form and I want them to be grouped together so the tabs for them line up across the bottom of the form. This way the user can view one panel at a time by clicking the appropriate tab.
 
I use this code to make it work for the first two panes:
 
HistoryPane = Me.DockingPaneManager.CreatePane(4, 400, 220, XtremeDockingPane.DockingDirection.DockBottomOf, Nothing)
HistoryPane.Title = "Policy History"
HistoryPane.Hidden = False
HistoryPane.Options = PaneOptions.PaneNoFloatable Or PaneOptions.PaneNoCloseable
 
DependentsPane = Me.DockingPaneManager.CreatePane(5, 400, 220, XtremeDockingPane.DockingDirection.DockBottomOf, Nothing)
DependentsPane.Title = "Attorneys"
DependentsPane.Hidden = False
DependentsPane.Options = PaneOptions.PaneNoFloatable Or PaneOptions.PaneNoCloseable
 
DockingPaneManager.AttachPane(HistoryPane, DependentsPane)

But then when I add the third pane using the following code, it detaches the HistoryPane and causes it to dock itself above the other two panes.

CoveragePane = Me.DockingPaneManager.CreatePane(6, 400, 220, XtremeDockingPane.DockingDirection.DockBottomOf, Nothing)

CoveragePane.Title = "Coverages"
CoveragePane.Hidden = False
CoveragePane.Options = PaneOptions.PaneNoFloatable Or PaneOptions.PaneNoCloseable
 
DockingPaneManager.AttachPane(DependentsPane, CoveragePane)
 
Is there any way I can make the disired grouping to have 3 or more panes in one group?
Back to Top
Zach View Drop Down
Groupie
Groupie


Joined: 19 July 2006
Status: Offline
Points: 62
Post Options Post Options   Thanks (0) Thanks(0)   Quote Zach Quote  Post ReplyReply Direct Link To This Post Posted: 30 April 2007 at 8:15pm
Try AttachTo
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.125 seconds.