<?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 : Column autosize</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Column autosize]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 02 May 2026 00:05:45 +0000</pubDate>
  <lastBuildDate>Thu, 18 Jan 2007 16:35:08 +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=6093</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[Column autosize : Oops, sorry, BestFit() was added...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6093&amp;PID=19485&amp;title=column-autosize#19485</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 6093<br /><strong>Posted:</strong> 18 January 2007 at 4:35pm<br /><br />Oops, sorry, BestFit() was added in version 10.4 only. I've mixed it up with MFC version, where it was available from the very beginning...<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Thu, 18 Jan 2007 16:35:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6093&amp;PID=19485&amp;title=column-autosize#19485</guid>
  </item> 
  <item>
   <title><![CDATA[Column autosize : For example this line:wndRepor...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6093&amp;PID=19467&amp;title=column-autosize#19467</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2355">@lin</a><br /><strong>Subject:</strong> 6093<br /><strong>Posted:</strong> 18 January 2007 at 3:43am<br /><br />For example this line:<BR>wndReportControl.Columns(i).BestFit<BR><BR>Method BestFit is not recognized. It is not available in help also.<BR><BR>]]>
   </description>
   <pubDate>Thu, 18 Jan 2007 03:43:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6093&amp;PID=19467&amp;title=column-autosize#19467</guid>
  </item> 
  <item>
   <title><![CDATA[Column autosize : Hi,What is not working? AFAIK...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6093&amp;PID=19454&amp;title=column-autosize#19454</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 6093<br /><strong>Posted:</strong> 17 January 2007 at 3:54pm<br /><br />Hi,<br><br>What is not working? AFAIK method .<b>BestFit</b> was available since the very early versions of the control.<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Wed, 17 Jan 2007 15:54:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6093&amp;PID=19454&amp;title=column-autosize#19454</guid>
  </item> 
  <item>
   <title><![CDATA[Column autosize : Also I want this only at first...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6093&amp;PID=19430&amp;title=column-autosize#19430</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2355">@lin</a><br /><strong>Subject:</strong> 6093<br /><strong>Posted:</strong> 17 January 2007 at 3:44am<br /><br />Also I want this only at first (when filling the grid) and not on resize. Like i said, i want something similar to dblclick on column edge but calable from the code.]]>
   </description>
   <pubDate>Wed, 17 Jan 2007 03:44:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6093&amp;PID=19430&amp;title=column-autosize#19430</guid>
  </item> 
  <item>
   <title><![CDATA[Column autosize : Thanx for your answer. Unfortunatelly...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6093&amp;PID=19429&amp;title=column-autosize#19429</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2355">@lin</a><br /><strong>Subject:</strong> 6093<br /><strong>Posted:</strong> 17 January 2007 at 3:42am<br /><br />Thanx for your answer. Unfortunatelly it does not work. I have Xtreme Suite ActiveX Controls v10.3 and the method is unavailable for this version.]]>
   </description>
   <pubDate>Wed, 17 Jan 2007 03:42:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6093&amp;PID=19429&amp;title=column-autosize#19429</guid>
  </item> 
  <item>
   <title><![CDATA[Column autosize : Hi,There is a method Column.BestFit...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6093&amp;PID=19306&amp;title=column-autosize#19306</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 6093<br /><strong>Posted:</strong> 14 January 2007 at 10:38am<br /><br />Hi,<br><br>There is a method Column.<b>BestFit </b>which adjusts a column size like you wish.&nbsp; <br><br>Method which will adjust all columns size:<br><table width="99%"><tr><td><pre class="BBcode"><br>Private Sub AdjustAllColumns()<br>&nbsp;&nbsp;&nbsp; Dim i As Integer<br>&nbsp;&nbsp;&nbsp; For i = 0 To wndReportControl.Columns.Count - 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wndReportControl.Columns(i).BestFit<br>&nbsp;&nbsp;&nbsp; Next i<br>End Sub<br></pre></td></tr></table><br><br>Call it from <b>Form_Resize</b> and disable regular column autosizing in <b>Form_Load</b> (.AutoColumnSizing = False)<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Sun, 14 Jan 2007 10:38:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6093&amp;PID=19306&amp;title=column-autosize#19306</guid>
  </item> 
  <item>
   <title><![CDATA[Column autosize : HelloI want to have a column with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6093&amp;PID=19227&amp;title=column-autosize#19227</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2355">@lin</a><br /><strong>Subject:</strong> 6093<br /><strong>Posted:</strong> 12 January 2007 at 6:15am<br /><br />Hello<BR><BR>I want to have a column with autosize, but not in the way autosize works for this control. What I need is that the size of the column to be calculated so that every item to be visible. It is the same like doubleclicking the edge of the header. Can this be done via some funcions implemented in the control or do i have to calculate the size myself?<BR><BR>Thank you<BR>]]>
   </description>
   <pubDate>Fri, 12 Jan 2007 06:15:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6093&amp;PID=19227&amp;title=column-autosize#19227</guid>
  </item> 
 </channel>
</rss>