<?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 : [SOLVED] Highlight &amp; Images in Markup</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : [SOLVED] Highlight &amp; Images in Markup]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 15:50:51 +0000</pubDate>
  <lastBuildDate>Thu, 18 Jun 2009 15:06:36 +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=14564</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[[SOLVED] Highlight &amp; Images in Markup : Hi Jason,   Actually, I had...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14564&amp;PID=50098&amp;title=solved-highlight-images-in-markup#50098</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 14564<br /><strong>Posted:</strong> 18 June 2009 at 3:06pm<br /><br />Hi Jason, <DIV>&nbsp;</DIV><DIV>Actually, I <strong>had</strong> an idea, but it is same as you did: creating border. I did a test once with markup in ReportControl that included images + text but I didn't see your problem.</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20090618_150534_MarkupRC.bmp" border="0"></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>I tried another thing though but it seems to work in IDE only <img src="https://forum.codejock.com/smileys/smiley29.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>Try this in IDE: ReportControlGlobalSettings.Icons.MaskColor = ReportControl1.PaintManager.HighlightBackColor (maybe you have to run test twice (also a thing I can't explain)) You will see that the white part of image is showing. But then again you can't&nbsp;just use a highlight color because&nbsp;that part of image doesn't show in reportitem. I think using border is best thing to do <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 18 Jun 2009 15:06:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14564&amp;PID=50098&amp;title=solved-highlight-images-in-markup#50098</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Highlight &amp; Images in Markup : Turns out it was a good idea to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14564&amp;PID=50096&amp;title=solved-highlight-images-in-markup#50096</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14564<br /><strong>Posted:</strong> 18 June 2009 at 2:20pm<br /><br />Turns out it was a good idea to make a demo project, as I was able to think of a workaround while coding it. You can add a Border tag with a white background of the same size as your image and then the transparency of the image will show the white border background instead of the highlight colour.<br><br>In case you had any other ideas or things you want to try, here's a small sample:<br><br><a href="uploads/20090618_141930_RCHighlightImag.zip" target="_blank">uploads/20090618_141930_RCHighlightImag.zip</a><br><br>Thanks again.<br>]]>
   </description>
   <pubDate>Thu, 18 Jun 2009 14:20:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14564&amp;PID=50096&amp;title=solved-highlight-images-in-markup#50096</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Highlight &amp; Images in Markup : I don&amp;#039;t have one that I can...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14564&amp;PID=50095&amp;title=solved-highlight-images-in-markup#50095</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14564<br /><strong>Posted:</strong> 18 June 2009 at 1:47pm<br /><br />I don't have one that I can post (it has lots of 3rd party and proprietary code), but I will try and make a quick sample.<br><br>]]>
   </description>
   <pubDate>Thu, 18 Jun 2009 13:47:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14564&amp;PID=50095&amp;title=solved-highlight-images-in-markup#50095</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Highlight &amp; Images in Markup : Hi Jason,  Do you have a test...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14564&amp;PID=50094&amp;title=solved-highlight-images-in-markup#50094</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 14564<br /><strong>Posted:</strong> 18 June 2009 at 1:36pm<br /><br />Hi Jason,<DIV>&nbsp;</DIV><DIV>Do you have a test project to reproduce? I want to try something <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 18 Jun 2009 13:36:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14564&amp;PID=50094&amp;title=solved-highlight-images-in-markup#50094</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Highlight &amp; Images in Markup : Thanks for the reply Aaron.It...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14564&amp;PID=50093&amp;title=solved-highlight-images-in-markup#50093</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14564<br /><strong>Posted:</strong> 18 June 2009 at 12:43pm<br /><br />Thanks for the reply Aaron.<br><br>It turns out that the RC is replacing the colour that it finds at the top-left pixel coordinate with the highlight colour (not replacing white with the highlight colour).<br><br>I could probably live without highlighting (at least for the preview cell), but ideally, we'd be able to turn off the colour replacement.<br><br>I can also replace the top-left colour of all of my images with a colour that is not in the image (at a processing cost), or one that is at least unlikely to be in the image (faster, but not as robust) and both of these options work okay, but again having an option to use colour substitution or not would be ideal.<br><br>I suspect the problem stems from the fact that the RC typically uses the icons property for just that - icons. In most cases transparency is desired for icons, but now with the new markup features, transparency won't always be desired and the images on the RC won't always be icons. <br>]]>
   </description>
   <pubDate>Thu, 18 Jun 2009 12:43:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14564&amp;PID=50093&amp;title=solved-highlight-images-in-markup#50093</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Highlight &amp; Images in Markup : Hi Jason,  If you don&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14564&amp;PID=50091&amp;title=solved-highlight-images-in-markup#50091</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 14564<br /><strong>Posted:</strong> 18 June 2009 at 12:15pm<br /><br />Hi Jason,<DIV>&nbsp;</DIV><DIV>If you don't want a colored selected row, you can set SelectionEnabled = false (now only focus rect shows) or you can play with HighLightForeColor and HighLightBackColor, in case&nbsp;you need&nbsp;a colored selected row.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 18 Jun 2009 12:15:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14564&amp;PID=50091&amp;title=solved-highlight-images-in-markup#50091</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Highlight &amp; Images in Markup :  I&amp;#039;m using markup in a ReportRecordItem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14564&amp;PID=50090&amp;title=solved-highlight-images-in-markup#50090</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14564<br /><strong>Posted:</strong> 18 June 2009 at 11:04am<br /><br />I'm using markup in a ReportRecordItem to display a series of previews of pages of a PDF. The JPG thumbnails are converted to StdPicture objects and added as follows:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>&nbsp;&nbsp; ReportControlGlobalSettings.Icons.AddBitmap PageInfo.Picture.Handle, AttachmentInfo.IndexOffset + PageInfo.PageNumber, xtpImageNormal, False<br></pre></td></tr></table><br><br>Where PageInfo.Picture is the StdPicture.<br><br>This all works great except that the highlighted ReportRecordItem shows the highlight colour in place of any part of the page that is pure white. The result is as follows:<br><br><img src="uploads/20090618_110140_rchighlight.jpg" height="319" width="626" border="0"><br><br>The image at the top left of the window shows the StdPicture as it is drawn on a form. The blue highlighted picture shows the reportcontrol replacing the white pixels of the page with the highlight colour.<br><br><b>Question:</b> Is there a way to prevent the colour replacement using a property of the ReportControl?<br>]]>
   </description>
   <pubDate>Thu, 18 Jun 2009 11:04:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14564&amp;PID=50090&amp;title=solved-highlight-images-in-markup#50090</guid>
  </item> 
 </channel>
</rss>