<?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 : IReportRecordItemMetrics Question</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : IReportRecordItemMetrics Question]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 21:08:36 +0000</pubDate>
  <lastBuildDate>Thu, 12 May 2011 15:05:52 +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=18366</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[IReportRecordItemMetrics Question : Aaron,Nice, never thought about...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18366&amp;PID=64357&amp;title=ireportrecorditemmetrics-question#64357</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 18366<br /><strong>Posted:</strong> 12 May 2011 at 3:05pm<br /><br />Aaron,<br><br>Nice, never thought about doing it that way! It's good that CJ allows you to do it many different ways! <br>]]>
   </description>
   <pubDate>Thu, 12 May 2011 15:05:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18366&amp;PID=64357&amp;title=ireportrecorditemmetrics-question#64357</guid>
  </item> 
  <item>
   <title><![CDATA[IReportRecordItemMetrics Question : Hi, Why not use Metrics object...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18366&amp;PID=64356&amp;title=ireportrecorditemmetrics-question#64356</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 18366<br /><strong>Posted:</strong> 12 May 2011 at 12:57pm<br /><br /><P>Hi,</P><P>Why not use Metrics object for Report Items...</P><DIV></DIV><DIV></DIV>Private Sub ReportControl_BeforeDrawRow(Index As Integer, ByVal Row As XtremeReportControl.IReportRow, ByVal Item As XtremeReportControl.IReportRecordItem, ByVal Metrics As XtremeReportControl.IReportRecordItemMetrics)<BR>&nbsp;&nbsp;&nbsp;<DIV>Select Case Item.Index</DIV><DIV>&nbsp;&nbsp;&nbsp; Case 1</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Metrics.Backcolor = vbRed</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Metrics.Font.Bold = True</DIV><DIV><DIV>&nbsp;&nbsp;&nbsp; Case 2</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Metrics.Backcolor = vbGreen</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Metrics.Font = Me.Font 'Or some other font</DIV></DIV><DIV><DIV>&nbsp;&nbsp;&nbsp; Case 3</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Metrics.ForeColor = vbBlue</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Metrics.Font.StrikeThrough = true</DIV><DIV>End Select</DIV></DIV><DIV>&nbsp;</DIV><DIV>End Sub<BR></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 12 May 2011 12:57:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18366&amp;PID=64356&amp;title=ireportrecorditemmetrics-question#64356</guid>
  </item> 
  <item>
   <title><![CDATA[IReportRecordItemMetrics Question : Hi,Yes &amp;amp; No... The Metrics...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18366&amp;PID=64348&amp;title=ireportrecorditemmetrics-question#64348</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 18366<br /><strong>Posted:</strong> 12 May 2011 at 7:08am<br /><br />Hi,<br><br>Yes &amp; No... The Metrics is for the row, however using the BeforeDrawRow event you can then change the Alignment, BackColor, Font, ForeColor and more by using the Row variable.<br><br><table width="99%"><tr><td><pre class="BBcode"><br>Private Sub ReportControl_BeforeDrawRow(Index As Integer, ByVal Row As XtremeReportControl.IReportRow, ByVal Item As XtremeReportControl.IReportRecordItem, ByVal Metrics As XtremeReportControl.IReportRecordItemMetrics)<br>&nbsp;&nbsp;&nbsp; If Trim$(Item.Record(1).Value) = "Totals:" Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Row.Record(1).Alignment = xtpAlignmentRight<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Row.Record(1).ForeColor = &amp;HE7FFE5<br>&nbsp;&nbsp;&nbsp; End If<br>End Sub<br></pre></td></tr></table><br><br><br>]]>
   </description>
   <pubDate>Thu, 12 May 2011 07:08:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18366&amp;PID=64348&amp;title=ireportrecorditemmetrics-question#64348</guid>
  </item> 
  <item>
   <title><![CDATA[IReportRecordItemMetrics Question :   Is it anyhow possible, to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18366&amp;PID=64347&amp;title=ireportrecorditemmetrics-question#64347</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2660">McKloony</a><br /><strong>Subject:</strong> 18366<br /><strong>Posted:</strong> 12 May 2011 at 5:42am<br /><br />Is it anyhow possible, to change only the Metrics of a Cell oder Item and not the Metricis for the hole row?<div></div>]]>
   </description>
   <pubDate>Thu, 12 May 2011 05:42:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18366&amp;PID=64347&amp;title=ireportrecorditemmetrics-question#64347</guid>
  </item> 
 </channel>
</rss>