<?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 : Switch background color row</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Switch background color row]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 13:02:38 +0000</pubDate>
  <lastBuildDate>Thu, 11 Jun 2009 13:46:44 +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=14509</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[Switch background color row : Hi,   You can use BeforeDrawRow...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14509&amp;PID=49873&amp;title=switch-background-color-row#49873</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 14509<br /><strong>Posted:</strong> 11 June 2009 at 1:46pm<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>You can use BeforeDrawRow event for this:</DIV><DIV>&nbsp;</DIV><DIV>Private Sub wndReportControlMerchants_BeforeDrawRow(ByVal Row As XtremeReportControl.IReportRow, ByVal Item As XtremeReportControl.IReportRecordItem, ByVal Metrics As XtremeReportControl.IReportRecordItemMetrics)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If (Row.Index Mod 2 = 0) Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Metrics.BackColor = RGB(225, 225, 225)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<BR>End Sub</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 11 Jun 2009 13:46:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14509&amp;PID=49873&amp;title=switch-background-color-row#49873</guid>
  </item> 
  <item>
   <title><![CDATA[Switch background color row : Hello all.  Is it possible to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14509&amp;PID=49854&amp;title=switch-background-color-row#49854</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5318">MrPeter</a><br /><strong>Subject:</strong> 14509<br /><strong>Posted:</strong> 11 June 2009 at 8:51am<br /><br />Hello all.<DIV>&nbsp;</DIV><DIV>Is it possible to set a background color for a row that is turned on/off every row ?</DIV><DIV>Example: first row has BGcolor blue, next row has white, next row has blue, next row white, ...</DIV><DIV>&nbsp;</DIV><DIV>I can set this while loading up data, but when i sort through the column titles then the records are mixed up and i get a wrong result.</DIV><DIV>&nbsp;</DIV><DIV>So does the report control support this kind of BGcolor switching ?</DIV><DIV>&nbsp;</DIV><DIV>Thanks in advance for any help</DIV>]]>
   </description>
   <pubDate>Thu, 11 Jun 2009 08:51:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14509&amp;PID=49854&amp;title=switch-background-color-row#49854</guid>
  </item> 
 </channel>
</rss>