<?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 : Limiting dockable area for two panes</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Limiting dockable area for two panes]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 14 Apr 2026 18:27:26 +0000</pubDate>
  <lastBuildDate>Fri, 25 Jul 2008 14:34:17 +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=11542</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[Limiting dockable area for two panes : Hi,  Glad to help a member in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11542&amp;PID=38905&amp;title=limiting-dockable-area-for-two-panes#38905</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11542<br /><strong>Posted:</strong> 25 July 2008 at 2:34pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Glad to help a member in need <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>If your issue has been&nbsp;solved, can you please add&nbsp;SOLVED in your Topic description&nbsp;and have a look at post <a href="http://forum.codejock.com/forum_posts.asp?TID=11225" target="_blank">http://forum.codejock.com/forum_posts.asp?TID=11225</A><BR></DIV><DIV>&nbsp;</DIV><DIV>Thanks<BR></DIV>]]>
   </description>
   <pubDate>Fri, 25 Jul 2008 14:34:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11542&amp;PID=38905&amp;title=limiting-dockable-area-for-two-panes#38905</guid>
  </item> 
  <item>
   <title><![CDATA[Limiting dockable area for two panes : Perfect, problem solved. Much...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11542&amp;PID=38904&amp;title=limiting-dockable-area-for-two-panes#38904</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4362">MattT</a><br /><strong>Subject:</strong> 11542<br /><strong>Posted:</strong> 25 July 2008 at 2:12pm<br /><br />Perfect, problem solved. Much appreciated!]]>
   </description>
   <pubDate>Fri, 25 Jul 2008 14:12:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11542&amp;PID=38904&amp;title=limiting-dockable-area-for-two-panes#38904</guid>
  </item> 
  <item>
   <title><![CDATA[Limiting dockable area for two panes : Hi,  I wasn&amp;#039;t able to find...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11542&amp;PID=38885&amp;title=limiting-dockable-area-for-two-panes#38885</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11542<br /><strong>Posted:</strong> 25 July 2008 at 5:17am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I wasn't able to find a solution for only <strong>allowing</strong> to dock a pane but this will have the same effect, add the following code to dpManager_Action event</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; If (Action = PaneActionDocked) Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select Case Pane.Id<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case RV_PANE_SERIES_GRID<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dpManager.DockPane Pane, 313, 120, DockBottomOf, dpManager.FindPane(RV_PANE_WELLZONE_GRID)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case RV_PANE_WELLZONE_GRID<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dpManager.DockPane Pane, 313, 120, DockBottomOf, dpManager.FindPane(RV_PANE_SERIES_GRID)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End Select<BR>&nbsp;&nbsp;&nbsp; End If<BR></DIV><DIV>&nbsp;</DIV><DIV>Hope this will help you <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 25 Jul 2008 05:17:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11542&amp;PID=38885&amp;title=limiting-dockable-area-for-two-panes#38885</guid>
  </item> 
  <item>
   <title><![CDATA[Limiting dockable area for two panes : Hello, Certainly. Here you go.  During...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11542&amp;PID=38853&amp;title=limiting-dockable-area-for-two-panes#38853</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4362">MattT</a><br /><strong>Subject:</strong> 11542<br /><strong>Posted:</strong> 24 July 2008 at 11:34am<br /><br /><P>Hello,</P><DIV>Certainly. <a href="uploads/20080724_113326_PaneSample.zip" target="_blank">Here you go.</A></DIV><DIV>&nbsp;</DIV><DIV>During form load, I am able to attach the second pane underneath the first. If you were to click and drag&nbsp;either of the panes&nbsp;off, then the problem becomes reattaching the same way they came off. I appreciate your help in this matter.</DIV>]]>
   </description>
   <pubDate>Thu, 24 Jul 2008 11:34:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11542&amp;PID=38853&amp;title=limiting-dockable-area-for-two-panes#38853</guid>
  </item> 
  <item>
   <title><![CDATA[Limiting dockable area for two panes : Hi,  Can you upload test project?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11542&amp;PID=38801&amp;title=limiting-dockable-area-for-two-panes#38801</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11542<br /><strong>Posted:</strong> 24 July 2008 at 1:54am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Can you upload test project? Rip all code, just have necessary code with dockingpanes.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 24 Jul 2008 01:54:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11542&amp;PID=38801&amp;title=limiting-dockable-area-for-two-panes#38801</guid>
  </item> 
  <item>
   <title><![CDATA[Limiting dockable area for two panes : Good morning,  I&amp;#039;m working...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11542&amp;PID=38708&amp;title=limiting-dockable-area-for-two-panes#38708</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4362">MattT</a><br /><strong>Subject:</strong> 11542<br /><strong>Posted:</strong> 22 July 2008 at 2:23pm<br /><br />Good morning,<DIV>&nbsp;</DIV><DIV>I'm working on a VB6 project that is currently using three different panes.&nbsp;Two of them are docked vertically on top of each other on the right side of the pane, and one is docked by itself on the left. The pane on the left is handled correctly in that it can float and only dock to the left, so I am not concerned about this one.&nbsp;We're trying to allow the users to float these panes, but I'm having some difficulty figuring out how to limit the two on the right in terms of where they are allowed to dock.</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20080722_112601_Panes.jpg" border="0"></DIV><DIV>&nbsp;</DIV><DIV><DIV>I have three different&nbsp;states to consider:</DIV><DIV>1-Both panes on the right are floating.</DIV><DIV>2-Only one pane is floating. The other is docked.</DIV><DIV>3-Both panes are docked.</DIV><DIV>&nbsp;</DIV><DIV>The trouble comes in with the third scenario. If both of these panes are docked, they must be docked vertically on top of each other (as shown), and they must be on the right side of the application. Inside of the DockingPaneManager_Action event, I've used the Container.Direction property to limit the docking ability for the panes to dock on top, left,&nbsp;or bottom of the form. This allows these two&nbsp;panes to dock on the right but&nbsp;prevents them from docking vertically over each other (no docking top or bottom of).</DIV><DIV>&nbsp;</DIV><DIV>I've got a simple structure down to determine which pane is being docked, but where I fall short is specifying exactly how to force either one of these panes to dock on top or on bottom of the other. I would appreciate any help that could be given.</DIV><DIV>&nbsp;</DIV><DIV>-MDT</DIV></DIV>]]>
   </description>
   <pubDate>Tue, 22 Jul 2008 14:23:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11542&amp;PID=38708&amp;title=limiting-dockable-area-for-two-panes#38708</guid>
  </item> 
 </channel>
</rss>