<?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 : Image display goes wrong</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Image display goes wrong]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 03:29:23 +0000</pubDate>
  <lastBuildDate>Sat, 18 Sep 2010 11:20:27 +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=17268</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[Image display goes wrong : Hi Fabian,  Now I see what you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17268&amp;PID=60287&amp;title=image-display-goes-wrong#60287</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17268<br /><strong>Posted:</strong> 18 September 2010 at 11:20am<br /><br />Hi Fabian,<DIV>&nbsp;</DIV><DIV>Now I see what you are doing "wrong" <img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" /></DIV><DIV>&nbsp;</DIV><DIV>You have wndReportControl.SetCustomDraw <strong>xtpCustomBeforeDrawRow</strong> and not <strong>xtpCustomMeasureRow </strong>If xtpCustomMeasureRow is enabled, MeasureRow event is fired and you are able&nbsp;to set Height manually. </DIV><DIV>&nbsp;</DIV><DIV>OK, I agree that this is&nbsp;strange and <strong>should be looked at</strong>, or <strong>at least mentioned in the help file if this is by design</strong>. I'm glad&nbsp;you found this "bug" </DIV><DIV>&nbsp;</DIV><DIV>Thanks for that, I will add this to my list. </DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 18 Sep 2010 11:20:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17268&amp;PID=60287&amp;title=image-display-goes-wrong#60287</guid>
  </item> 
  <item>
   <title><![CDATA[Image display goes wrong : Hi Aaron,  RC.PaintManager.F...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17268&amp;PID=60286&amp;title=image-display-goes-wrong#60286</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=841">Fabian</a><br /><strong>Subject:</strong> 17268<br /><strong>Posted:</strong> 18 September 2010 at 9:52am<br /><br />Hi Aaron,<DIV>&nbsp;</DIV><DIV>RC.PaintManager.FixedRowHeight=False</DIV><DIV>RC.SetCustomDraw xtpCustomBeforeDrawRow</DIV><DIV>&nbsp;</DIV><DIV>DOES NOT WORK</DIV><DIV>&nbsp;</DIV><DIV><DIV><DIV>RC.SetCustomDraw xtpCustomBeforeDrawRow</DIV>RC.PaintManager.FixedRowHeight=False</DIV><DIV>&nbsp;</DIV><DIV>WORKS (tested with your sample, v3.4)</DIV><DIV>&nbsp;</DIV><DIV>Regards</DIV><DIV>Fabian</DIV></DIV>]]>
   </description>
   <pubDate>Sat, 18 Sep 2010 09:52:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17268&amp;PID=60286&amp;title=image-display-goes-wrong#60286</guid>
  </item> 
  <item>
   <title><![CDATA[Image display goes wrong : Hi Fabian,   I put (with my...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17268&amp;PID=60283&amp;title=image-display-goes-wrong#60283</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17268<br /><strong>Posted:</strong> 18 September 2010 at 7:45am<br /><br />Hi Fabian, <DIV>&nbsp;</DIV><DIV>I put (with my test project) the line: wndReportControl.PaintManager.FixedRowHeight = False on a lot of different places,&nbsp;it&nbsp;ALWAYS works OK <img src="http://forum.codejock.com/smileys/smiley4.gif" height="17" width="17" border="0" alt="Big smile" title="Big smile" />&nbsp;So I'm curious where and when&nbsp;it fails. </DIV><DIV>&nbsp;</DIV><DIV>Please show me your code when it fails or change my test project and upload it inhere again.</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 18 Sep 2010 07:45:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17268&amp;PID=60283&amp;title=image-display-goes-wrong#60283</guid>
  </item> 
  <item>
   <title><![CDATA[Image display goes wrong : Thanks Aaron for your effort....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17268&amp;PID=60281&amp;title=image-display-goes-wrong#60281</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=841">Fabian</a><br /><strong>Subject:</strong> 17268<br /><strong>Posted:</strong> 18 September 2010 at 6:55am<br /><br />Thanks Aaron for your effort. Yes you are right. If I set FixedRowHeight = False AFTER loading the icons it works. If I set it before loading data this property has no effect.<DIV>&nbsp;</DIV><DIV>Regards</DIV><DIV>Fabian</DIV>]]>
   </description>
   <pubDate>Sat, 18 Sep 2010 06:55:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17268&amp;PID=60281&amp;title=image-display-goes-wrong#60281</guid>
  </item> 
  <item>
   <title><![CDATA[Image display goes wrong : Hi Fabian,  I don&amp;#039;t know...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17268&amp;PID=60280&amp;title=image-display-goes-wrong#60280</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17268<br /><strong>Posted:</strong> 18 September 2010 at 6:12am<br /><br />Hi Fabian,<DIV>&nbsp;</DIV><DIV>I don't know why it doesn't work for you? I attached test project that works OK for me.</DIV><DIV>&nbsp;</DIV><DIV>Try to (during runtime)</DIV><DIV>&nbsp;</DIV><UL><LI>Set FixedRowHeight True &lt;&gt; False</LI><LI>Set CustomMeasureRow (internal counter will increase height of row for every click)</LI><LI>Resizing Column will affect icon also when columnwidth is too small !!!</LI></UL><P><a href="http://forum.codejock.com/uploads/3701/TestReportIc&#111;n.zip" target="_blank">uploads/3701/TestReportIcon.zip</A></P><DIV></DIV><DIV></DIV>]]>
   </description>
   <pubDate>Sat, 18 Sep 2010 06:12:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17268&amp;PID=60280&amp;title=image-display-goes-wrong#60280</guid>
  </item> 
  <item>
   <title><![CDATA[Image display goes wrong : Hi Aaron,  Thanks for looking...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17268&amp;PID=60279&amp;title=image-display-goes-wrong#60279</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=841">Fabian</a><br /><strong>Subject:</strong> 17268<br /><strong>Posted:</strong> 18 September 2010 at 5:05am<br /><br />Hi Aaron,<DIV>&nbsp;</DIV><DIV>Thanks for looking at this 'feature'. But I have set RC.PaintManager.FixedRowHeight=False. But the behaviour is as described (v13.4).</DIV><DIV>&nbsp;</DIV><DIV>Have a nice week end</DIV><DIV>Fabian</DIV>]]>
   </description>
   <pubDate>Sat, 18 Sep 2010 05:05:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17268&amp;PID=60279&amp;title=image-display-goes-wrong#60279</guid>
  </item> 
  <item>
   <title><![CDATA[Image display goes wrong : Hi Fabian,   Looking at it again......]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17268&amp;PID=60278&amp;title=image-display-goes-wrong#60278</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17268<br /><strong>Posted:</strong> 18 September 2010 at 3:43am<br /><br />Hi Fabian, <DIV>&nbsp;</DIV><DIV>Looking at it again... If you allow RC to calculate rowheight depending on it contents (FixedRowHeight = False) Icon is showing OK, but if you decide to measure row yourself and calculate rowheight to small, RC doesn't show Icon. Suppose you want measure rowheight yourself and RC still <strong>forces</strong> rowheight to fit Icon then you would be right!!! </DIV><DIV>&nbsp;</DIV><DIV>So I believe it is implemented correctly <img src="http://forum.codejock.com/smileys/smiley4.gif" height="17" width="17" border="0" alt="Big smile" title="Big smile" /></DIV><DIV>&nbsp;</DIV><DIV>Setting FixedRowHeight = False is best option to allow RC calculate rowheight automatically.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 18 Sep 2010 03:43:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17268&amp;PID=60278&amp;title=image-display-goes-wrong#60278</guid>
  </item> 
  <item>
   <title><![CDATA[Image display goes wrong : Hi Fabian,  Do you need MeasureRow...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17268&amp;PID=60277&amp;title=image-display-goes-wrong#60277</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17268<br /><strong>Posted:</strong> 18 September 2010 at 3:27am<br /><br />Hi Fabian,<DIV>&nbsp;</DIV><DIV>Do you need MeasureRow event? If not, just set wndReportControl.PaintManager.FixedRowHeight = False</DIV><DIV>&nbsp;</DIV><DIV>If you do need event, I guess&nbsp;you have to calculate height of image. I don't know if this is by design, better ask support <img src="http://forum.codejock.com/smileys/smiley4.gif" height="17" width="17" border="0" alt="Big smile" title="Big smile" /></DIV><DIV>&nbsp;</DIV><DIV>Good luck</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 18 Sep 2010 03:27:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17268&amp;PID=60277&amp;title=image-display-goes-wrong#60277</guid>
  </item> 
  <item>
   <title><![CDATA[Image display goes wrong : Hi Aaron  The problem goes deeper...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17268&amp;PID=60276&amp;title=image-display-goes-wrong#60276</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=841">Fabian</a><br /><strong>Subject:</strong> 17268<br /><strong>Posted:</strong> 18 September 2010 at 3:02am<br /><br />Hi Aaron<DIV>&nbsp;</DIV><DIV>The problem goes deeper as I thought. </DIV><DIV>&nbsp;</DIV><DIV>If you allow MeasureRow by ReportControl1.SetCustomDraw xtpCustomMeasureRow AND YOU DO NOTHING in this event - it works. As soon as you doesn't allow this event to fire, images &gt;16 pix wan't show <img src="http://forum.codejock.com/smileys/smiley5.gif" border="0" title="C&#111;nfused" alt="C&#111;nfused" /></DIV>]]>
   </description>
   <pubDate>Sat, 18 Sep 2010 03:02:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17268&amp;PID=60276&amp;title=image-display-goes-wrong#60276</guid>
  </item> 
  <item>
   <title><![CDATA[Image display goes wrong : Hi Fabian,  I tried same but...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17268&amp;PID=60269&amp;title=image-display-goes-wrong#60269</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17268<br /><strong>Posted:</strong> 17 September 2010 at 3:11pm<br /><br />Hi Fabian,<DIV>&nbsp;</DIV><DIV>I tried same but the row is autosized to full size image, don't have to change rowheight. With V13.3.1 and V13.4 both work as should. Would it be different&nbsp;and I have to add code which I didn't have to in previous versions, it would a bug and I wouldn't&nbsp;add SOLVED&nbsp;to my post because accidentally some event exists, to&nbsp;resize row <img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" />&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Is it possible to upload test project which shows your problem?</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 17 Sep 2010 15:11:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17268&amp;PID=60269&amp;title=image-display-goes-wrong#60269</guid>
  </item> 
 </channel>
</rss>