<?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 : Custom Draw Problems</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Custom Draw Problems]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 12:16:24 +0000</pubDate>
  <lastBuildDate>Thu, 16 Apr 2009 09:50:23 +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=14033</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[Custom Draw Problems : Hi Aaron, thanks a lot for the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14033&amp;PID=48011&amp;title=custom-draw-problems#48011</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14033<br /><strong>Posted:</strong> 16 April 2009 at 9:50am<br /><br />Hi Aaron, thanks a lot for the updated sample. I didn't need to remove the vbNewline (but I see my question was phrased poorly), I just needed to get the word break working. Your code does this, so thanks.<br>I do see the difference between BeforeDrawRow and DrawItem...so I will use BeforeDrawRow from now on since it works as required.<br><br>Thanks again.<br>]]>
   </description>
   <pubDate>Thu, 16 Apr 2009 09:50:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14033&amp;PID=48011&amp;title=custom-draw-problems#48011</guid>
  </item> 
  <item>
   <title><![CDATA[Custom Draw Problems : Hi Jason,  I changed your uploaded...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14033&amp;PID=47990&amp;title=custom-draw-problems#47990</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 14033<br /><strong>Posted:</strong> 16 April 2009 at 3:43am<br /><br />Hi Jason,<DIV>&nbsp;</DIV><DIV>I changed your uploaded test project a bit <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV><strong>Question #1)</strong> I don't see why you need to remove vbNewLine?</DIV><DIV><strong>Question #2)</strong> See changed test project and notice difference between BeforeDrawRow event en DrawItem event</DIV><DIV>&nbsp;</DIV><DIV><a href="https://forum.codejock.com/uploads/20090416_034229_ReportC&#111;ntrolCu.rar" target="_blank">uploads/20090416_034229_ReportControlCu.rar</A></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 16 Apr 2009 03:43:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14033&amp;PID=47990&amp;title=custom-draw-problems#47990</guid>
  </item> 
  <item>
   <title><![CDATA[Custom Draw Problems : When a ReportControl.PaintManager.FixedRowHeight...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14033&amp;PID=47967&amp;title=custom-draw-problems#47967</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14033<br /><strong>Posted:</strong> 15 April 2009 at 7:31pm<br /><br />When a ReportControl.PaintManager.FixedRowHeight = False and a record item has text with vbNewline in it, the ReportControl show multiple lines <b>unless</b> the SetCustomDraw method has been called with xtpCustomDrawItem (in which case a box is drawn instead of a newline and all of the text appears on one line). So:<br><br><b>Question #1) </b>How do I draw split text with a vbNewline character to display multiple lines when SetCustomDraw xtpCustomDrawItem has been called?<br><br>Also, when SetCustomDraw xtpCustomDrawItem has been called and I set the Item.Icon property to the index of an icon (in the DrawItem event) in my ReportControl.Icons collection, the icon doesn't get shown until I click the ReportControl. Calling Populate and Redraw methods crash the IDE (understandably). So:<br><br><b>Question #2) </b>How do I get RecordItems to refresh after setting properties in the DrawItem event?<br><br>Demonstration here:<br><br><a href="uploads/20090415_193053_ReportC&#111;ntrolCu.zip" target="_blank">uploads/20090415_193053_ReportControlCu.zip</a><br><br>(click the "Custom Draw" checkbox to see the difference, and then click the ReportControl to see the icon appear in the attachments column..This only works once, so close and restart the demo to try again if you don't see what I mean after clicking the checkbox).<br><br><br><br>]]>
   </description>
   <pubDate>Wed, 15 Apr 2009 19:31:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14033&amp;PID=47967&amp;title=custom-draw-problems#47967</guid>
  </item> 
 </channel>
</rss>