<?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 : Forecolor changes when selected</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Forecolor changes when selected]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 02 May 2026 00:51:57 +0000</pubDate>
  <lastBuildDate>Sun, 30 Apr 2006 14:22:15 +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=3963</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[Forecolor changes when selected : Thanks nighthawk, that&amp;#039;s...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3963&amp;PID=12531&amp;title=forecolor-changes-when-selected#12531</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 3963<br /><strong>Posted:</strong> 30 April 2006 at 2:22pm<br /><br />Thanks <span ="bold">nighthawk</span>, that's correct -- highlighted (selected) rows have it's own colors which could be changed as mentioned.<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Sun, 30 Apr 2006 14:22:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3963&amp;PID=12531&amp;title=forecolor-changes-when-selected#12531</guid>
  </item> 
  <item>
   <title><![CDATA[Forecolor changes when selected : How about adding the following...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3963&amp;PID=12527&amp;title=forecolor-changes-when-selected#12527</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=570">nighthawk</a><br /><strong>Subject:</strong> 3963<br /><strong>Posted:</strong> 29 April 2006 at 10:04pm<br /><br />How about adding the following the the ReportControl_BeforeDrawRow() event:<br><br>&nbsp;&nbsp;&nbsp; If (Row.Selected = True) Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ReportControl.PaintManager.HighlightForeColor = Item.ForeColor<br>&nbsp;&nbsp;&nbsp; End If<br><br><br>For the event to fire, you need to add the following in the record control setup:<br><br>&nbsp;&nbsp;&nbsp; ReportControl.SetCustomDraw xtpCustomBeforeDrawRow<br><br><br>]]>
   </description>
   <pubDate>Sat, 29 Apr 2006 22:04:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3963&amp;PID=12527&amp;title=forecolor-changes-when-selected#12527</guid>
  </item> 
  <item>
   <title><![CDATA[Forecolor changes when selected : As you can see from the pic I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3963&amp;PID=12521&amp;title=forecolor-changes-when-selected#12521</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1549">Shawshank</a><br /><strong>Subject:</strong> 3963<br /><strong>Posted:</strong> 29 April 2006 at 12:16pm<br /><br /><P>As you can see from the pic I have populated the RC with several Records. I set the Forecolor of each Item(0) to grey. When I selected a Record the Item(0).Forecolor reverted back to the default of black. This is easy to duplicate. Seems like a bug, what do you think? It does not revert back to the grey color when no longer highlighted.</P><P><IMG src="uploads/Shawshank/2006-04-29_121523_rc.jpg" border="0"></P>]]>
   </description>
   <pubDate>Sat, 29 Apr 2006 12:16:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3963&amp;PID=12521&amp;title=forecolor-changes-when-selected#12521</guid>
  </item> 
  <item>
   <title><![CDATA[Forecolor changes when selected : Not sure what&amp;#039;s the problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3963&amp;PID=12111&amp;title=forecolor-changes-when-selected#12111</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 3963<br /><strong>Posted:</strong> 10 April 2006 at 3:16pm<br /><br />Not sure what's the problem you describe, plz show it on a picture if possible.<br>May be you need to set ReportControl.PaintManager.ShadeSortColumn = False ? Or any other property of the PaintManager?<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Mon, 10 Apr 2006 15:16:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3963&amp;PID=12111&amp;title=forecolor-changes-when-selected#12111</guid>
  </item> 
  <item>
   <title><![CDATA[Forecolor changes when selected : I have a RC populated with several...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3963&amp;PID=12065&amp;title=forecolor-changes-when-selected#12065</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1549">Shawshank</a><br /><strong>Subject:</strong> 3963<br /><strong>Posted:</strong> 09 April 2006 at 1:37pm<br /><br /><P>I have a RC populated with several records. The first Item in each Record has it's font forecolor set to gray. If I select the Item the font forecolor changes back to the default black.</P><P>Is there a setting somewhere that controls this? I've even tried catching the SelectionChanged event and setting the color back to gray but this also fails. Is there a way to stop this behavior?</P>]]>
   </description>
   <pubDate>Sun, 09 Apr 2006 13:37:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3963&amp;PID=12065&amp;title=forecolor-changes-when-selected#12065</guid>
  </item> 
 </channel>
</rss>