<?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 : [CRASH] Dock pane to original position</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : [CRASH] Dock pane to original position]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 21:51:45 +0000</pubDate>
  <lastBuildDate>Mon, 15 Nov 2010 12:32:21 +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=17472</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[[CRASH] Dock pane to original position : Hi,  Thank you for looking at...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17472&amp;PID=61402&amp;title=crash-dock-pane-to-original-position#61402</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17472<br /><strong>Posted:</strong> 15 November 2010 at 12:32pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Thank you for looking at it <img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" /></DIV><DIV>&nbsp;</DIV><DIV>@Willowmaster: Your code seems to be working OK.</DIV><DIV>&nbsp;</DIV><DIV>To Oleg: Why isn't this right way to store layout? Do have a better way to&nbsp;solve this problem?</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 15 Nov 2010 12:32:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17472&amp;PID=61402&amp;title=crash-dock-pane-to-original-position#61402</guid>
  </item> 
  <item>
   <title><![CDATA[[CRASH] Dock pane to original position : Hello Aaron,  Have you checked...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17472&amp;PID=61308&amp;title=crash-dock-pane-to-original-position#61308</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6226">Willowmaster</a><br /><strong>Subject:</strong> 17472<br /><strong>Posted:</strong> 09 November 2010 at 6:34am<br /><br />Hello Aaron,<DIV>&nbsp;</DIV><DIV>Have you checked the sample code yet? I'm curious if it has helped you.</DIV>]]>
   </description>
   <pubDate>Tue, 09 Nov 2010 06:34:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17472&amp;PID=61308&amp;title=crash-dock-pane-to-original-position#61308</guid>
  </item> 
  <item>
   <title><![CDATA[[CRASH] Dock pane to original position : The following code seems to work...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17472&amp;PID=61240&amp;title=crash-dock-pane-to-original-position#61240</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6226">Willowmaster</a><br /><strong>Subject:</strong> 17472<br /><strong>Posted:</strong> 03 November 2010 at 8:36am<br /><br />The following code seems to work quite nice for me. But I'm using 11.1.3 as codejock version: <DIV>&nbsp;</DIV><DIV>Private Sub wndDockingPane_Action(ByVal Action As XtremeDockingPane.DockingPaneAction, ByVal Pane As XtremeDockingPane.IPane, ByVal Container As XtremeDockingPane.IPaneActionContainer, Cancel As Boolean)<BR>Static blnSkip As Boolean<BR>&nbsp;&nbsp;&nbsp; If Not blnSkip Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Action = PaneActionDragging Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Me.wndDockingPane.GetLayout paneLayout<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Action = PaneActionDocked Or Action = PaneActionAttached Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; blnSkip = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Me.wndDockingPane.SetLayout paneLayout<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; blnSkip = False<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cancel = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<BR>&nbsp;&nbsp;&nbsp; End If<BR>End Sub</DIV><DIV>&nbsp;</DIV><DIV>I haven't fully tested it.</DIV>]]>
   </description>
   <pubDate>Wed, 03 Nov 2010 08:36:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17472&amp;PID=61240&amp;title=crash-dock-pane-to-original-position#61240</guid>
  </item> 
  <item>
   <title><![CDATA[[CRASH] Dock pane to original position : Yeah, that was really odd that....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17472&amp;PID=61233&amp;title=crash-dock-pane-to-original-position#61233</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6296">Hemesh</a><br /><strong>Subject:</strong> 17472<br /><strong>Posted:</strong> 03 November 2010 at 6:55am<br /><br />Yeah, that was really odd that. Been trying a few things but without too much luck yet&nbsp;<img src="http://forum.codejock.com/smileys/smiley5.gif" border="0" alt="C&#111;nfused" title="C&#111;nfused" />. I'm continuing to have a play though as i'm sure there must be something that can be done to enforce the panes to dock to an alternative pane if set. Might have to set up your own class to record the original layout and docked neighbours..]]>
   </description>
   <pubDate>Wed, 03 Nov 2010 06:55:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17472&amp;PID=61233&amp;title=crash-dock-pane-to-original-position#61233</guid>
  </item> 
  <item>
   <title><![CDATA[[CRASH] Dock pane to original position :   Hemesh wrote:I&amp;#039;ve not...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17472&amp;PID=61232&amp;title=crash-dock-pane-to-original-position#61232</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17472<br /><strong>Posted:</strong> 03 November 2010 at 6:51am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Hemesh" alt="Originally posted by Hemesh" style="vertical-align: text-bottom;" /> <strong>Hemesh wrote:</strong><br /><br />I've not got 13.4 installed, but your example it doesn't crash on my 13.3 installation.. d'oh!<BR></td></tr></table><DIV>&nbsp;</DIV><DIV>Hi, </DIV><DIV>&nbsp;</DIV><DIV>Thanks for trying my sample. Did you try to dock pane to another pane (showing as tabs) ? That is the problem !!! </DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>&nbsp;</DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV>]]>
   </description>
   <pubDate>Wed, 03 Nov 2010 06:51:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17472&amp;PID=61232&amp;title=crash-dock-pane-to-original-position#61232</guid>
  </item> 
  <item>
   <title><![CDATA[[CRASH] Dock pane to original position : I&amp;#039;ve not got 13.4 installed,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17472&amp;PID=61229&amp;title=crash-dock-pane-to-original-position#61229</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6296">Hemesh</a><br /><strong>Subject:</strong> 17472<br /><strong>Posted:</strong> 03 November 2010 at 5:43am<br /><br />I've not got 13.4 installed, but your example it doesn't crash on my 13.3 installation.. d'oh!<br>]]>
   </description>
   <pubDate>Wed, 03 Nov 2010 05:43:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17472&amp;PID=61229&amp;title=crash-dock-pane-to-original-position#61229</guid>
  </item> 
  <item>
   <title><![CDATA[[CRASH] Dock pane to original position : Maybe you can save the layout...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17472&amp;PID=61199&amp;title=crash-dock-pane-to-original-position#61199</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6226">Willowmaster</a><br /><strong>Subject:</strong> 17472<br /><strong>Posted:</strong> 29 October 2010 at 5:56am<br /><br />Maybe you can save the layout as a string and&nbsp;set all the panes to be non floatable when the first pane becomes floatable. When the pane is docked back you can set the panes back to floatable and load the layout. I hope this makes sense to you. :)]]>
   </description>
   <pubDate>Fri, 29 Oct 2010 05:56:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17472&amp;PID=61199&amp;title=crash-dock-pane-to-original-position#61199</guid>
  </item> 
  <item>
   <title><![CDATA[[CRASH] Dock pane to original position : Hi Oleg,  One of our customers...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17472&amp;PID=61197&amp;title=crash-dock-pane-to-original-position#61197</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17472<br /><strong>Posted:</strong> 29 October 2010 at 4:51am<br /><br />Hi Oleg,<DIV>&nbsp;</DIV><DIV>One of our customers don't want the users to mess around with their "layout" but wants to be able&nbsp;to float a pane and "do their thing". After "doing their thing" the user has to dock the pane back but if I allow this their layout will be changed all the time because users don't listen what their supervisers order them to do <img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" />&nbsp;So I would like to dock the pane to the original position as before the pane was floated.&nbsp;I tried with above test project to restore the layout but it crashed. So all solutions are welcome&nbsp;<img src="http://forum.codejock.com/smileys/smiley36.gif" height="17" width="17" border="0" alt="LOL" title="LOL" /></DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>&nbsp;&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 29 Oct 2010 04:51:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17472&amp;PID=61197&amp;title=crash-dock-pane-to-original-position#61197</guid>
  </item> 
  <item>
   <title><![CDATA[[CRASH] Dock pane to original position : maybe you can restrict only for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17472&amp;PID=61179&amp;title=crash-dock-pane-to-original-position#61179</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17472<br /><strong>Posted:</strong> 27 October 2010 at 4:14am<br /><br />maybe you can restrict only &nbsp;for examply to allow dock to Left / Right side of client part only ?<div><br></div><div>Its not easy to formulate&nbsp;<span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">DockPaneToOriginalPosition - &nbsp;what if user float each panes first and then try to dock them in reversed order... &nbsp; &nbsp; what problem for appliaction if some panes will be switched ?</span></div>]]>
   </description>
   <pubDate>Wed, 27 Oct 2010 04:14:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17472&amp;PID=61179&amp;title=crash-dock-pane-to-original-position#61179</guid>
  </item> 
  <item>
   <title><![CDATA[[CRASH] Dock pane to original position : It indeed looks weird but if I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17472&amp;PID=61161&amp;title=crash-dock-pane-to-original-position#61161</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17472<br /><strong>Posted:</strong> 26 October 2010 at 5:38am<br /><br /><P>It indeed looks weird but if I don't have any other options to work with... If I set .Options = PaneNoDockable the user isn't allowed to dock the floated pane anymore (also double clicking pane caption doesn't work) </P><P>Could it be possible to implement property DockPaneToOriginalPosition?</P><P>Any other solution is also welcome&nbsp;&nbsp; </P>]]>
   </description>
   <pubDate>Tue, 26 Oct 2010 05:38:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17472&amp;PID=61161&amp;title=crash-dock-pane-to-original-position#61161</guid>
  </item> 
 </channel>
</rss>