<?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 : beforedrawrow setting backcolor</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : beforedrawrow setting backcolor]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 11:15:29 +0000</pubDate>
  <lastBuildDate>Tue, 30 Apr 2013 12:39:14 +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=20540</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[beforedrawrow setting backcolor : It is an IF/Then statement, it...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=20540&amp;PID=70890&amp;title=beforedrawrow-setting-backcolor#70890</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5927">xfsriddler</a><br /><strong>Subject:</strong> 20540<br /><strong>Posted:</strong> 30 April 2013 at 12:39pm<br /><br />It is an IF/Then statement, it is supposed to one color if it's greater than 0<div>and one color if it's not zero or less.</div>]]>
   </description>
   <pubDate>Tue, 30 Apr 2013 12:39:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=20540&amp;PID=70890&amp;title=beforedrawrow-setting-backcolor#70890</guid>
  </item> 
  <item>
   <title><![CDATA[beforedrawrow setting backcolor :  Without seeing more of your...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=20540&amp;PID=70788&amp;title=beforedrawrow-setting-backcolor#70788</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2777">bryanu</a><br /><strong>Subject:</strong> 20540<br /><strong>Posted:</strong> 06 April 2013 at 4:14pm<br /><br />Without seeing more of your code, it looks like the issue is with your comparative:<br><br>If Item.Value &gt; 0 Then ...<br><br>You are not changing the color of the item with a value of 0.<br><br>Try:&nbsp;&nbsp;&nbsp; If Item.Value &gt;= 0 Then]]>
   </description>
   <pubDate>Sat, 06 Apr 2013 16:14:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=20540&amp;PID=70788&amp;title=beforedrawrow-setting-backcolor#70788</guid>
  </item> 
  <item>
   <title><![CDATA[beforedrawrow setting backcolor : Anyone have any ideas on this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=20540&amp;PID=70777&amp;title=beforedrawrow-setting-backcolor#70777</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5927">xfsriddler</a><br /><strong>Subject:</strong> 20540<br /><strong>Posted:</strong> 01 April 2013 at 4:28pm<br /><br />Anyone have any ideas on this one, it's really annoying, the top<div>data row (not heading) on all my reportcontrols does not change color</div><div>when I set it , every other row works fine.</div>]]>
   </description>
   <pubDate>Mon, 01 Apr 2013 16:28:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=20540&amp;PID=70777&amp;title=beforedrawrow-setting-backcolor#70777</guid>
  </item> 
  <item>
   <title><![CDATA[beforedrawrow setting backcolor : I have setup the BeforeDrawRow...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=20540&amp;PID=69582&amp;title=beforedrawrow-setting-backcolor#69582</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5927">xfsriddler</a><br /><strong>Subject:</strong> 20540<br /><strong>Posted:</strong> 18 January 2013 at 11:32am<br /><br />I have setup the BeforeDrawRow event to color a column's backcolor differently&nbsp;<div>depending on it's value. &nbsp;This seems to work perfectly except the very first data row (not the heading row) is not being colored , it is staying the default color.</div><div>Can you direct me to what I am doing wrong ?</div><div><br></div><div><div><div>Private Sub prodgrid_BeforeDrawRow(ByVal Row As XtremeReportControl.IReportRow, ByVal Item As XtremeReportControl.IReportRecordItem, ByVal Metrics As XtremeReportControl.IReportRecordItemMetrics)</div><div>&nbsp;&nbsp;</div><div>Select Case Item.Index</div><div>&nbsp; Case 5</div><div>&nbsp; &nbsp; If Item.Value &gt; 0 Then</div><div>&nbsp; &nbsp; &nbsp; &nbsp;Metrics.BackColor = &amp;H9FFBA9</div><div>&nbsp; &nbsp; Else</div><div>&nbsp; &nbsp; &nbsp; &nbsp;Metrics.BackColor = &amp;H9D9DFF</div><div>&nbsp; &nbsp; End If</div><div>Case Else</div><div>&nbsp; &nbsp; Metrics.BackColor = "-1"</div><div>End Select</div><div>&nbsp;&nbsp;</div><div>End Sub</div></div><div><br></div><div>&nbsp;&nbsp;</div></div>]]>
   </description>
   <pubDate>Fri, 18 Jan 2013 11:32:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=20540&amp;PID=69582&amp;title=beforedrawrow-setting-backcolor#69582</guid>
  </item> 
 </channel>
</rss>