<?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 : Floating Pane shrink to fit</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Floating Pane shrink to fit]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 28 Apr 2026 21:18:11 +0000</pubDate>
  <lastBuildDate>Tue, 01 Apr 2008 12:47:46 +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=9920</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[Floating Pane shrink to fit : Hi,  That&amp;#039;s what I said,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9920&amp;PID=32931&amp;title=floating-pane-shrink-to-fit#32931</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 9920<br /><strong>Posted:</strong> 01 April 2008 at 12:47pm<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>That's what I said, look at the 'huhhhh ?????&nbsp;note. You don't have to workaround that, CodeJock will fix this in the final V12 release. So be patience my son <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV>]]>
   </description>
   <pubDate>Tue, 01 Apr 2008 12:47:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9920&amp;PID=32931&amp;title=floating-pane-shrink-to-fit#32931</guid>
  </item> 
  <item>
   <title><![CDATA[Floating Pane shrink to fit : I&amp;#039;ve tracked the problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9920&amp;PID=32927&amp;title=floating-pane-shrink-to-fit#32927</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3848">fawcettp</a><br /><strong>Subject:</strong> 9920<br /><strong>Posted:</strong> 01 April 2008 at 11:36am<br /><br />I've tracked the problem down to one of the options on the DockingPaneManager. I had ThemedFloatingFrames = true which causes the observed behaviour i.e panel size doesn't change when the pane is undocked.<DIV>Setting ThemedFloatingFrames = false does cause the panel to shrink to the size of the wrapped window. However, in this case, the window style doesn't match the other windows. I've managed to find a workaround but I'm surprised this option gives functional differences rather than just a difference in appearance.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 01 Apr 2008 11:36:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9920&amp;PID=32927&amp;title=floating-pane-shrink-to-fit#32927</guid>
  </item> 
  <item>
   <title><![CDATA[Floating Pane shrink to fit : Hi,   The properties MinTrackSize...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9920&amp;PID=32865&amp;title=floating-pane-shrink-to-fit#32865</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 9920<br /><strong>Posted:</strong> 31 March 2008 at 6:21am<br /><br />Hi,&nbsp; <DIV>&nbsp;</DIV><DIV>The properties MinTrackSize and MaxTrackSize should do the trick</DIV><DIV>&nbsp;</DIV><DIV>DockingPane.FindPane(1).MinTrackSize.SetSize 100, 100<BR>DockingPane.FindPane(1).MaxTrackSize.SetSize 100, 100</DIV><DIV>(This will also prevent the pane from getting resized as well)</DIV><DIV>&nbsp;</DIV><DIV>When&nbsp;MinTrackSize and&nbsp;MaxTrackSize are set to a value the floating pane will be resized to this value otherwise you have to set left,top,right,bottom in the FloatPane method.</DIV><DIV>&nbsp;</DIV><DIV>DockingPane.FloatPane DockingPane.FindPane(1),&nbsp;0, 0, 0, 0</DIV><DIV>(Where 1 is the Pane ID)</DIV><DIV>&nbsp;</DIV><DIV>Or in the DP Action event:</DIV><DIV>&nbsp;</DIV><DIV>If Action = PaneActionFloated Then</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DockingPane.Options.ThemedFloatingPanes = False 'huhhhh ?????&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Pane.MinTrackSize.SetSize 200, 100<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Pane.MaxTrackSize.SetSize 200, 100<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DockingPane.Options.ThemedFloatingPanes = True 'huhhhh ?????&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DockingPane.RedrawPanes 'resize contents<BR>End If</DIV><DIV>&nbsp;</DIV><DIV>If Action = PaneActionDocked Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Pane.MinTrackSize.SetSize 300, 300<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Pane.MaxTrackSize.SetSize 800, 300<BR>End If&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Note: the 'huhhhh ?????&nbsp;means that this must be set first otherwise the pane won't be resized to Min and MaxTrackSize. If you don't use ThemedFloatingPanes you don't have to add these lines of code. There are a few buts... </DIV><DIV>&nbsp;</DIV><DIV>&nbsp;<a href="https://forum.codejock.com/uploads/20080401_015004_TestDockingPane.zip" target="_blank">uploads/20080401_015004_TestDockingPane.zip</A></DIV>]]>
   </description>
   <pubDate>Mon, 31 Mar 2008 06:21:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9920&amp;PID=32865&amp;title=floating-pane-shrink-to-fit#32865</guid>
  </item> 
  <item>
   <title><![CDATA[Floating Pane shrink to fit : I need this too!! ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9920&amp;PID=32807&amp;title=floating-pane-shrink-to-fit#32807</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 9920<br /><strong>Posted:</strong> 29 March 2008 at 11:37pm<br /><br />I need this too!!]]>
   </description>
   <pubDate>Sat, 29 Mar 2008 23:37:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9920&amp;PID=32807&amp;title=floating-pane-shrink-to-fit#32807</guid>
  </item> 
  <item>
   <title><![CDATA[Floating Pane shrink to fit : Is it possible to get a pane to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9920&amp;PID=32372&amp;title=floating-pane-shrink-to-fit#32372</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3848">fawcettp</a><br /><strong>Subject:</strong> 9920<br /><strong>Posted:</strong> 18 March 2008 at 10:34am<br /><br />Is it possible to get a pane to shrink to&nbsp;it's child form&nbsp;(the form to which it is attached via the Handle attribute) when it is&nbsp;detached from a DockingPaneManager? <DIV>&nbsp;</DIV><DIV>I've tried to set the Min and Max track values in the action event for the Docking pane manager when the pane is floated but this has no effect. </DIV><DIV>&nbsp;</DIV><DIV>I'm trying to get the panes to resize to minimise the amount of screen space they take up when&nbsp;detached so any assistance would be appreciated. I would have thought this behaviour would be configurable but haven't been able to find anything so far.</DIV><DIV>&nbsp;</DIV><DIV>Thanks.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 18 Mar 2008 10:34:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9920&amp;PID=32372&amp;title=floating-pane-shrink-to-fit#32372</guid>
  </item> 
 </channel>
</rss>