<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Pane in an MDI Child in VB.net</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : General Discussion : Pane in an MDI Child in VB.net]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 21:23:42 +0000</pubDate>
  <lastBuildDate>Tue, 07 Jun 2005 08:36:51 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=2131</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Pane in an MDI Child in VB.net : Due to the way .NET opens MDIChild...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2131&amp;PID=6920&amp;title=pane-in-an-mdi-child-in-vb-net#6920</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 2131<br /><strong>Posted:</strong> 07 June 2005 at 8:36am<br /><br />Due to the way .NET opens MDIChild forms, there is a specific way youmust use DockingPanes when displaying them in a MDIChild form.&nbsp; <br><br>1. Add the DockingPane Control to the MDIChild form.<br>2. Delete the DockingPane Control from the MDIChild form.&nbsp; This adds the references needed to use the control.<br>3. Add Imports XtremeDockingPane to the MDIChild form.<br>4. Add "Friend WithEvents DockingPaneManager As AxXtremeDockingPane.AxDockingPane" in the MDIChild class.<br>5.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Private SubfrmDocument_Load(ByVal sender As System.Object, ByVal e AsSystem.EventArgs) Handles MyBase.Load<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;Me.DockingPaneManager  = New AxXtremeDockingPane.AxDockingPane()<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;CType(Me.DockingPaneManager,System.ComponentMode l.ISupportInitialize).BeginInit() <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp; Me.SuspendLayout()<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp; Me.DockingPaneManager.Enabled = True<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;Me.DockingPaneManager .Location = New System.Drawing.Point(1, 1)<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp; Me.DockingPaneManager.Name = "DockingPaneManager"<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp; Me.DockingPaneManager.Size = New System.Drawing.Size(24, 24)<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp; Me.DockingPaneManager.TabIndex = 0<br><br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp; Me.Controls.Add(Me.DockingPaneManager)<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;CType(Me.DockingPaneManager,System.ComponentModel.ISupportInitialize).EndInit()<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp; Me.ResumeLayout(False)<br><br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;DockingPaneManager.ScaleMode =XtremeDockingPane.XTPScaleMode.xtpScalePixel<br><br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp; Dim PaneProperties As Pane<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;PaneProperties = Me.DockingPaneManager.CreatePane(1, 210, 120,XtremeDockingPane.DockingDirection.DockLeftOf, Nothing)<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp; PaneProperties.Title = "Properties"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End Sub<br>]]>
   </description>
   <pubDate>Tue, 07 Jun 2005 08:36:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2131&amp;PID=6920&amp;title=pane-in-an-mdi-child-in-vb-net#6920</guid>
  </item> 
  <item>
   <title><![CDATA[Pane in an MDI Child in VB.net : HelloI would like to have a MdiContainer...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2131&amp;PID=6309&amp;title=pane-in-an-mdi-child-in-vb-net#6309</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1126">ihu77</a><br /><strong>Subject:</strong> 2131<br /><strong>Posted:</strong> 20 April 2005 at 9:49am<br /><br /><P>Hello<BR><BR>I would like to have a MdiContainer with a frmChild in VB.net. Inside the frmChild I would like to have two panes. How does this work?</P><P>I have a mdiForm (isMdiContainer = True) and I would like to open a ChildForm frmChild in the mdiForm...like this<BR><BR>Private Sub LoadNewChild()<BR>&nbsp;&nbsp; Dim frmChild as frmChild<BR>&nbsp;&nbsp; frmChild = New frmChild<BR>&nbsp;&nbsp; frmChild.MdiParent = Me<BR>&nbsp;&nbsp; frmChild.Show()<BR>End Sub</P><P>Inside the frmChild I would like to place 2 panes (frmPaneA, frmPaneB)...like this<BR><BR>Private Sub frmChild_Load(....) Handles myBase.Load<BR>&nbsp;&nbsp; Dim frmPaneA as Pane =  DockingPaneManager.CreatePane(0,200,120,DockingDirection.Doc kLeftOf, Nothing)<BR>&nbsp;&nbsp; Dim frmPaneB as Pane =  DockingPaneManager.CreatePane(0,200,120,DockingDirection.Doc kTopOf, frmPaneB)<BR>End sub</P><P>If I insert like above the code frmChild.MdiParent = Me in mdiForm then no panes will appear in frmChild. <BR>If I delete frmChild.MdiParent = Me in mdiForm, it works with the panes but the frmChild is not a Child in mdiForm anymore.</P><P>Could someone help me?</P><P>Thank you very much.</P>]]>
   </description>
   <pubDate>Wed, 20 Apr 2005 09:49:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2131&amp;PID=6309&amp;title=pane-in-an-mdi-child-in-vb-net#6309</guid>
  </item> 
 </channel>
</rss>