Print Page | Close Window

associating a form with a docking pane

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


Topic: associating a form with a docking pane
Posted By: gidmeister
Subject: associating a form with a docking pane
Date Posted: 15 November 2012 at 3:05pm
To associate a form with a pane, I do the following:

C = MDIDockingPaneManager.CreatePane(5, 200, 120, DockingDirection.DockLeftOf, Nothing)

        C.Title = "Objects"
Then I have some code in the attachpane event:
 If e.item.Id = 5 Then
            e.item.SetHandle((New panelLeft).Handle)
        End If
 
Is the easiest way to associate a pane with a form?
 

  




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