<?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 : Problem Resetting A Panes Width</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Problem Resetting A Panes Width]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 14 Jun 2026 23:59:03 +0000</pubDate>
  <lastBuildDate>Thu, 03 Jan 2008 07:00:10 +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=9212</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[Problem Resetting A Panes Width : Hello   I am trying to have...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9212&amp;PID=29853&amp;title=problem-resetting-a-panes-width#29853</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3513">StephenW</a><br /><strong>Subject:</strong> 9212<br /><strong>Posted:</strong> 03 January 2008 at 7:00am<br /><br />Hello <DIV>&nbsp;</DIV><DIV>I am trying to have a menu button reset a left side docked pane's width when clicked.&nbsp; I have used the code from the NormalizeSplitters help for this and nothing happens.&nbsp; Modifying the code to close and re-open the pane does actually have an effect, but I believe this is only due to it pinning the pane (when the user unpins it the correct width gets set).&nbsp; How can I set this width without having to force the pane to be pinned and relying on the user to unpin it ?</DIV><DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>' Find the pane and change its width to the default<BR>Set objPane = objDockingManager.FindPane(1)<BR>objPane.Close</DIV><DIV>' Resize pane width (100 height is not used as docked to left so uses all available height)<BR>objPane.MinTrackSize.setSize 490, 100<BR>objPane.MaxTrackSize.setSize 490, 100<BR>' Remember previous SetSize settings<BR>objDockingManager.RecalcLayout<BR>objDockingManager.NormalizeSplitters</DIV><DIV>' Set the minimum and maximum sizes the splitter can move (100 height is not used as docked to left so uses all available height)<BR>objPane.MinTrackSize.setSize 300, 100<BR>objPane.MaxTrackSize.setSize 1000, 100</DIV><DIV>' Pin the pane (when the user unpins it will have the correct size now)<BR>objPane.Select</DIV></DIV>]]>
   </description>
   <pubDate>Thu, 03 Jan 2008 07:00:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9212&amp;PID=29853&amp;title=problem-resetting-a-panes-width#29853</guid>
  </item> 
 </channel>
</rss>