<?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 : BestFit Question</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : BestFit Question]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 22:55:08 +0000</pubDate>
  <lastBuildDate>Mon, 07 May 2007 10:02:05 +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=6573</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[BestFit Question : On first glance that seems to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6573&amp;PID=22624&amp;title=bestfit-question#22624</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1790">jcollier</a><br /><strong>Subject:</strong> 6573<br /><strong>Posted:</strong> 07 May 2007 at 10:02am<br /><br />On first glance that seems to be working!&nbsp; I'll have to check it out more later but it appears to have fixed the problem.&nbsp; Thanks!<br><br>The function now looks as follows:<br><br>Public Sub AdjustAllColumns(rpt As ReportControl)<br>&nbsp;&nbsp;&nbsp; Dim I As Long<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; rpt.Redraw<br><br>&nbsp;&nbsp;&nbsp; For I = 0 To rpt.Columns.Count - 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If rpt.Columns(I).Resizable = True Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rpt.Columns(I).BestFit<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rpt.Columns(I).Width = rpt.Columns(I).Width + 15<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp; Next I<br>End Sub<br><br>]]>
   </description>
   <pubDate>Mon, 07 May 2007 10:02:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6573&amp;PID=22624&amp;title=bestfit-question#22624</guid>
  </item> 
  <item>
   <title><![CDATA[BestFit Question : Hello jcollier  I forgot to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6573&amp;PID=22570&amp;title=bestfit-question#22570</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=841">Fabian</a><br /><strong>Subject:</strong> 6573<br /><strong>Posted:</strong> 05 May 2007 at 8:59am<br /><br />Hello jcollier<DIV>&nbsp;</DIV><DIV>I forgot to mention that the BestFit method in my code only works as follows:</DIV><DIV>&nbsp;</DIV><UL><LI>load report</LI><LI>rpt.populate</LI><LI>RPT.REDRAW&nbsp;&nbsp; &lt;---</LI><LI>BestFit stuff</LI></UL><DIV>&nbsp;</DIV><DIV>Hope that helps</DIV>]]>
   </description>
   <pubDate>Sat, 05 May 2007 08:59:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6573&amp;PID=22570&amp;title=bestfit-question#22570</guid>
  </item> 
  <item>
   <title><![CDATA[BestFit Question : Yes, to no avail.  ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6573&amp;PID=22559&amp;title=bestfit-question#22559</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1790">jcollier</a><br /><strong>Subject:</strong> 6573<br /><strong>Posted:</strong> 04 May 2007 at 4:41pm<br /><br />Yes, to no avail.]]>
   </description>
   <pubDate>Fri, 04 May 2007 16:41:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6573&amp;PID=22559&amp;title=bestfit-question#22559</guid>
  </item> 
  <item>
   <title><![CDATA[BestFit Question : Hello jcollier  have you called...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6573&amp;PID=22550&amp;title=bestfit-question#22550</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=841">Fabian</a><br /><strong>Subject:</strong> 6573<br /><strong>Posted:</strong> 04 May 2007 at 11:21am<br /><br />Hello jcollier<DIV>&nbsp;</DIV><DIV>have you called your method after .populate?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 04 May 2007 11:21:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6573&amp;PID=22550&amp;title=bestfit-question#22550</guid>
  </item> 
  <item>
   <title><![CDATA[BestFit Question : Hello?  ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6573&amp;PID=22530&amp;title=bestfit-question#22530</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1790">jcollier</a><br /><strong>Subject:</strong> 6573<br /><strong>Posted:</strong> 03 May 2007 at 12:21pm<br /><br />Hello?]]>
   </description>
   <pubDate>Thu, 03 May 2007 12:21:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6573&amp;PID=22530&amp;title=bestfit-question#22530</guid>
  </item> 
  <item>
   <title><![CDATA[BestFit Question : Has CJ recreated this?  ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6573&amp;PID=21656&amp;title=bestfit-question#21656</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1790">jcollier</a><br /><strong>Subject:</strong> 6573<br /><strong>Posted:</strong> 03 April 2007 at 10:01am<br /><br />Has CJ recreated this?]]>
   </description>
   <pubDate>Tue, 03 Apr 2007 10:01:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6573&amp;PID=21656&amp;title=bestfit-question#21656</guid>
  </item> 
  <item>
   <title><![CDATA[BestFit Question : Recreate:In the ReportSample:frmTaskList_Load...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6573&amp;PID=21467&amp;title=bestfit-question#21467</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1790">jcollier</a><br /><strong>Subject:</strong> 6573<br /><strong>Posted:</strong> 26 March 2007 at 2:04pm<br /><br />Recreate:<br><br>In the ReportSample:<br><br>frmTaskList_Load change the width of the Subject column to 10<br>Either before or after calling .Populate in frmTaskList_Load add the following line: Call AdjustAllColumns<br><br>Add the following procedure to frmTaskList<br><br>Public Sub AdjustAllColumns(rpt As ReportControl)<br>&nbsp;&nbsp;&nbsp; Dim I As Long<br>&nbsp;&nbsp;&nbsp; For I = 0 To rpt.Columns.Count - 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If rpt.Columns(I).Resizable = True Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rpt.Columns(I).BestFit<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rpt.Columns(I).Width = rpt.Columns(I).Width + 15<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp; Next I<br>End Sub<br><br><br>Shouldn't all of the data in the Subject column be visible?&nbsp; VB6 with CJ 10.4.2<br>]]>
   </description>
   <pubDate>Mon, 26 Mar 2007 14:04:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6573&amp;PID=21467&amp;title=bestfit-question#21467</guid>
  </item> 
  <item>
   <title><![CDATA[BestFit Question : Nothing new because can not reproduce...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6573&amp;PID=21379&amp;title=bestfit-question#21379</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 6573<br /><strong>Posted:</strong> 22 March 2007 at 6:40pm<br /><br />Nothing new because can not reproduce the problem.<br><br>Adjusting width with BestFit looks to be working fine. Your procedure also works fine.<br><br>...<br><br>May be the problem is that some columns you created without their own permissions to be resized, like a one below:<br><table width="99%"><tr><td><pre class="BBcode"><br>Set Column = wndReportControl.Columns.Add(COLUMN_ICON, "Message Class", 18, <b>False</b>)<br></pre></td></tr></table><br><br>--<br>WBR,<br>Serge<br><br><br>]]>
   </description>
   <pubDate>Thu, 22 Mar 2007 18:40:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6573&amp;PID=21379&amp;title=bestfit-question#21379</guid>
  </item> 
  <item>
   <title><![CDATA[BestFit Question : Nothing new here?  ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6573&amp;PID=21159&amp;title=bestfit-question#21159</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1790">jcollier</a><br /><strong>Subject:</strong> 6573<br /><strong>Posted:</strong> 14 March 2007 at 2:57pm<br /><br />Nothing new here?]]>
   </description>
   <pubDate>Wed, 14 Mar 2007 14:57:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6573&amp;PID=21159&amp;title=bestfit-question#21159</guid>
  </item> 
  <item>
   <title><![CDATA[BestFit Question : AutoColumnSizing is set to false...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6573&amp;PID=20985&amp;title=bestfit-question#20985</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1790">jcollier</a><br /><strong>Subject:</strong> 6573<br /><strong>Posted:</strong> 07 March 2007 at 11:46am<br /><br />AutoColumnSizing is set to false after the columns are created.&nbsp; Also the property in the property page is false.&nbsp; It is never being set to True.]]>
   </description>
   <pubDate>Wed, 07 Mar 2007 11:46:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6573&amp;PID=20985&amp;title=bestfit-question#20985</guid>
  </item> 
 </channel>
</rss>