Print Page | Close Window

Determine what pane is attached to?

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=17496
Printed Date: 03 May 2024 at 11:34pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Determine what pane is attached to?
Posted By: RonG
Subject: Determine what pane is attached to?
Date Posted: 27 October 2010 at 2:55pm

Hi all - 

Is there a way to programatically determine what a given pane is attached to?

I am trying to write a generalized routine to resize panes using the .Dockpane method.  I would like to pass in the pane and the new width or height, but I would need to use the pane's existing DockingDirection and Neighbour.


Public Sub ResizePane(ByVal prmPane As XtremeDockingPane.Pane, Optional ByVal prmHeight As Integer = -1, Optional ByVal prmWidth As Integer = -1)

PaneManager.DockPane(prmPane, prmWidth, prmHeight, prmPane.DockDirection, prmPane.Neighbour)

End Sub

The items in red are what I need to determine.  Does that make sense?





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