<?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 : SOLVED: RowHeight</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : SOLVED: RowHeight]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 17:24:43 +0000</pubDate>
  <lastBuildDate>Mon, 07 Jul 2008 16:51:30 +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=11006</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[SOLVED: RowHeight : Yes, This event happens every...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11006&amp;PID=37911&amp;title=solved-rowheight#37911</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2531">Baldur</a><br /><strong>Subject:</strong> 11006<br /><strong>Posted:</strong> 07 July 2008 at 4:51pm<br /><br />Yes, This event happens every time the report must be redrawn (e.g. CursorMove, Mouseclick) !<DIV>&nbsp;</DIV><DIV>I must use this, because i use WordBreak in the Caption. If i not use this event each row becomes to heigh. I need only 17 pixels, the default becomes 22.</DIV><DIV>But the lost time doesn't matter !</DIV><DIV>MeasureRow is fired one per row, BeforDrawRow is fired 2 times for each Item !</DIV><DIV>I use also CustomDraw !</DIV><DIV>&nbsp;</DIV><DIV>So i get many events but this works very fast for me.</DIV><DIV>&nbsp;</DIV><DIV>In an other test before i use the virtual mode with ADO-Recordset.</DIV><DIV>THIS was the main performance break !!!</DIV><DIV>Each access to the Recordset.AbsolutePosition makes problems.</DIV><DIV>&nbsp;</DIV><DIV>To understand:</DIV><DIV>Each DrawBeforeRow (for each item), i set the AbsolutePosition.</DIV><DIV>Each DrawItem set the AbsolutePosition.</DIV><DIV>&nbsp;</DIV><DIV>The reason was, that DrawBeforeRow and DrawItem are not fired consistently (eg. first visible row, than last visible row, than each row and than the items).</DIV><DIV>&nbsp;</DIV><DIV>The setting of AbsolutePosition and the question of that property takes the same time !!!</DIV><DIV>&nbsp;</DIV><DIV>So now i don't use virtual mode and fill the entire recordset to the report.</DIV><DIV>&nbsp;</DIV><DIV>I have done a measurement:</DIV><DIV>Filling up 10.000 lines with 20 columns in&nbsp;3 Seconds without access the AbsolutePosition (count by myself).</DIV><DIV>But with access of AbsolutePosition i need about 70 seconds !!!</DIV><DIV>&nbsp;</DIV><DIV>I don't find anything in the internet why this property takes a long time.</DIV><DIV>It's also independent if the recordset is connected with ClientCursor or build by my own.</DIV>]]>
   </description>
   <pubDate>Mon, 07 Jul 2008 16:51:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11006&amp;PID=37911&amp;title=solved-rowheight#37911</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: RowHeight : Hi,  Thanks for sharing   Will...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11006&amp;PID=37903&amp;title=solved-rowheight#37903</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11006<br /><strong>Posted:</strong> 07 July 2008 at 11:39am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Thanks for sharing <img src="https://forum.codejock.com/smileys/smiley4.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>Will this event be raised everytime the RC contents changes? Just like the BeforeDrawRow event?&nbsp;If so, I will have my concerns about using this. It's taking alot of CPU time already <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 07 Jul 2008 11:39:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11006&amp;PID=37903&amp;title=solved-rowheight#37903</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: RowHeight : Yes you can !  MyReport.SetCustomDraw...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11006&amp;PID=37891&amp;title=solved-rowheight#37891</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2531">Baldur</a><br /><strong>Subject:</strong> 11006<br /><strong>Posted:</strong> 07 July 2008 at 9:42am<br /><br />Yes you can !<DIV>&nbsp;</DIV><DIV>MyReport.SetCustomDraw xtpCustomMeasureRow </DIV><DIV>&nbsp;</DIV><DIV>Than you get for each Row a MeasureRow-Event.</DIV>]]>
   </description>
   <pubDate>Mon, 07 Jul 2008 09:42:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11006&amp;PID=37891&amp;title=solved-rowheight#37891</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: RowHeight : Hi,   You can not change the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11006&amp;PID=36622&amp;title=solved-rowheight#36622</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11006<br /><strong>Posted:</strong> 12 June 2008 at 12:19pm<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>You can not change the RowHeight itself, it will be sized by its contents&nbsp;if you set wndReportControl.PaintManager.FixedRowHeight =&nbsp;false&nbsp;&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 12 Jun 2008 12:19:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11006&amp;PID=36622&amp;title=solved-rowheight#36622</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: RowHeight : Hi friends, maybe this question...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11006&amp;PID=36620&amp;title=solved-rowheight#36620</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2416">ElvisM</a><br /><strong>Subject:</strong> 11006<br /><strong>Posted:</strong> 12 June 2008 at 12:05pm<br /><br />Hi friends, maybe this question is too simple... <DIV>How can I change by code, the rowheight in the reportcontrol?</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>Elvis</DIV>]]>
   </description>
   <pubDate>Thu, 12 Jun 2008 12:05:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11006&amp;PID=36620&amp;title=solved-rowheight#36620</guid>
  </item> 
 </channel>
</rss>