<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.method.me/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Method:Classic General Q&amp;amp;A</title><link>http://forums.method.me/cs/forums/13.aspx</link><description>Ask technical support questions, how do I? Questions... Or anything else you want to know from the Method Team and other Method users.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>Re: Report Designer OnBeforePrint change field colors</title><link>http://forums.method.me/cs/forums/thread/26592.aspx</link><pubDate>Wed, 08 Apr 2015 20:45:19 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:26592</guid><dc:creator>Method_Audisho</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/26592.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=26592</wfw:commentRss><description>&lt;p&gt;Hi Robert,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Report designer scripting generally falls beyond what we can help with on the forums. That being said, I was able to figure this out with some help from our professional services team and some Google searching.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The foreground color and background color can be altered using the &lt;i&gt;.ForeColor&lt;/i&gt; &amp;amp; &lt;i&gt;.BackColor&lt;/i&gt; properties. Here is an example of some simple code that will set the background color of &lt;b&gt;xrLabel5&lt;/b&gt; to Aqua.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Dim xrColor&lt;br /&gt; &amp;nbsp;xrColor = xrLabel5&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;br /&gt; &amp;nbsp;xrColor.BackColor = Color.Aqua&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;span id="mce_4_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_3_start" style="overflow:hidden;"&gt;&lt;/span&gt;You can find a list of colors / color properties &lt;a href="https://msdn.microsoft.com/en-us/library/System.Drawing.Color_properties(v=vs.110).aspx" target="_blank"&gt;he&lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;/span&gt;re&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You can find complete documentation for XtraReports &lt;a href="https://documentation.devexpress.com/#HomePage/CustomDocument9453" target="_blank"&gt;h&lt;span id="mce_6_start" style="overflow:hidden;"&gt;&lt;/span&gt;ere&lt;/a&gt;, but I was able to locate how to do this by simply searching Google for &amp;ldquo;xtrareports script colors&amp;rdquo;. I also believe that this answers the question you posted &lt;a href="https://www.method.me:443/cs/forums/p/7137/26586.aspx#26586"&gt;h&lt;span id="mce_7_start" style="overflow:hidden;"&gt;&lt;/span&gt;ere&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Audisho&lt;/p&gt;</description></item><item><title>Report Designer OnBeforePrint change field colors</title><link>http://forums.method.me/cs/forums/thread/26590.aspx</link><pubDate>Wed, 08 Apr 2015 19:57:46 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:26590</guid><dc:creator>robert.cowart</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/26590.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=26590</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;In report Designer, I need the VB syntax for altering the color&lt;span id="mce_10_start" style="overflow:hidden;"&gt;s&lt;/span&gt;&amp;nbsp;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;of the font (&lt;span id="mce_11_start" style="overflow:hidden;"&gt;&lt;/span&gt;foreground) and back&lt;span id="mce_4_start" style="overflow:hidden;"&gt;&lt;/span&gt;ground. &amp;nbsp;I nee&lt;span id="mce_4_end" style="overflow:hidden;"&gt;&lt;/span&gt;d t&lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;/span&gt;o ch&lt;span id="mce_6_start" style="overflow:hidden;"&gt;&lt;/span&gt;ange colors of&amp;nbsp;report fields which are n&lt;span id="mce_12_start" style="overflow:hidden;"&gt;&lt;/span&gt;ot tied directly to a table column.&lt;span id="mce_8_start" style="overflow:hidden;"&gt; &lt;span id="mce_9_start" style="overflow:hidden;"&gt;&lt;/span&gt;&amp;nbsp;Thanks.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>