Print Page | Close Window

[SOLVED]Move 3 Panes at the same time?

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=19164
Printed Date: 19 April 2024 at 1:30pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED]Move 3 Panes at the same time?
Posted By: stuc
Subject: [SOLVED]Move 3 Panes at the same time?
Date Posted: 10 November 2011 at 10:49am


Say I have a,b and c.   b is docked bottom of A, c is docked bottom of b .

b and c have no captions.

When moving Pane A,  can B and C get to move at the same time ?


I presume if its not bult in I will have to intercept the  docking manager_action and then move the panes to dock back wit the moved parent pane.

After extensive forums reading :S  i cant find how to  dock an existing pane to another pane other than DockingManager.createpane  .....


[solved]
Just in case someone else wonders about this


Private Sub DockingPaneManager_Action(ByVal Action As XtremeDockingPane.DockingPaneAction, ByVal Pane As XtremeDockingPane.IPane, ByVal Container As XtremeDockingPane.IPaneActionContainer, Cancel As Boolean)

If (Action = PaneActionDocked) Then
            ' now redock the associated panes
            DockingPaneManager.DockPane f, f.MaxTrackSize.Width, f.MaxTrackSize.Height, DockBottomOf, c
            DockingPaneManager.DockPane E, E.MaxTrackSize.Width, E.MaxTrackSize.Height, DockBottomOf, f
        End If


End Sub







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