Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - Determine what pane is attached to?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Determine what pane is attached to?

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


Joined: 07 August 2008
Location: United States
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote RonG Quote  Post ReplyReply Direct Link To This Post Topic: Determine what pane is attached to?
    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?


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.203 seconds.