<?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 : HowTo: BestFit &amp; column header with an icon</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : HowTo: BestFit &amp; column header with an icon]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 08:19:59 +0000</pubDate>
  <lastBuildDate>Wed, 23 Jun 2010 14:53:28 +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=16864</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[HowTo: BestFit &amp; column header with an icon : Hi,  After some investigation...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16864&amp;PID=59089&amp;title=howto-bestfit-column-header-with-an-icon#59089</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 16864<br /><strong>Posted:</strong> 23 June 2010 at 2:53pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>After some investigation I found that Bestfit <strong>works</strong> if you <strong><FONT color=#ff0000>don't</FONT></strong> set wndReportControl.PaintManager.DrawSortTriangleStyle = <FONT color=#0000ff>xtpReportDrawSortTriangleAlways&nbsp;</FONT><strong>and</strong> the SortIcon is already present in the column (if sorticon isn't visible bestfit doesn't calculate width the right way)</DIV><DIV>&nbsp;</DIV><DIV>Maybe this will help support to find the problem <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 23 Jun 2010 14:53:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16864&amp;PID=59089&amp;title=howto-bestfit-column-header-with-an-icon#59089</guid>
  </item> 
  <item>
   <title><![CDATA[HowTo: BestFit &amp; column header with an icon : Hi,   Yes you are correct, BestFit...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16864&amp;PID=59084&amp;title=howto-bestfit-column-header-with-an-icon#59084</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 16864<br /><strong>Posted:</strong> 23 June 2010 at 11:26am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>Yes you are correct, BestFit doesn't&nbsp;calculate columnwidth&nbsp;correct with an icon. I will add it to my list <a href="https://forum.codejock.com/forum_posts.asp?TID=16309" target="_blank">https://forum.codejock.com/forum_posts.asp?TID=16309</A>, thanks</DIV><DIV>&nbsp;</DIV><DIV>The only thing you can do for now is setting a <strong>MinimumWidth</strong> for that column.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 23 Jun 2010 11:26:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16864&amp;PID=59084&amp;title=howto-bestfit-column-header-with-an-icon#59084</guid>
  </item> 
  <item>
   <title><![CDATA[HowTo: BestFit &amp; column header with an icon :   Hi,I&amp;#039;m trying to BestFit...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16864&amp;PID=59062&amp;title=howto-bestfit-column-header-with-an-icon#59062</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6129">AntiChecker</a><br /><strong>Subject:</strong> 16864<br /><strong>Posted:</strong> 21 June 2010 at 5:27pm<br /><br />Hi,<br><br>I'm trying to BestFit a column whose column header contains an icon, but I cannot figure it out how to correctly do it.<br><br>Before adding columns to the ReportControl, it has been set as follows:<br><br><table width="99%"><tr><td><pre class="BBcode">ReportControl1.AutoColumnSizing = False</pre></td></tr></table><br>The result of the BestFit from a column whose column header (caption = "CSC") does not contain an icon, is as follows (it displays the caption "CSC" completely, which IS OK):<br><br><img src="http://dl.dropbox.com/u/3791771/BestFit%26ColumnHeaderWithoutIc&#111;n.png" border="0"><br><br>The result of the BestFit from a column whose column header (caption = "CSC") contains an icon, is as follows (it displays the icon in the column header, but it does not display the caption "CSC" completely, which is NOT OK):<br>&nbsp;<br><img src="http://dl.dropbox.com/u/3791771/BestFit%26ColumnHeaderWithIc&#111;n.png" border="0"><br><br>Any ideas how to BestFit a column whose column header contains an icon, that is, display the icon in the column header AND display the caption "CSC" completely?<br><br>Thank you for your help.<br><br>AntiChecker<br><br>]]>
   </description>
   <pubDate>Mon, 21 Jun 2010 17:27:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16864&amp;PID=59062&amp;title=howto-bestfit-column-header-with-an-icon#59062</guid>
  </item> 
 </channel>
</rss>