<?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 : Vertical Scroll Bug?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Vertical Scroll Bug?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 18 Apr 2026 22:34:33 +0000</pubDate>
  <lastBuildDate>Tue, 19 Jan 2010 16:34:40 +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=16035</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[Vertical Scroll Bug? : I can&amp;#039;t reproduce you case...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16035&amp;PID=56224&amp;title=vertical-scroll-bug#56224</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 16035<br /><strong>Posted:</strong> 19 January 2010 at 4:34pm<br /><br />I can't reproduce you case - please open Issue and we can discuss it]]>
   </description>
   <pubDate>Tue, 19 Jan 2010 16:34:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16035&amp;PID=56224&amp;title=vertical-scroll-bug#56224</guid>
  </item> 
  <item>
   <title><![CDATA[Vertical Scroll Bug? : If you have a ReportControl narrow...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16035&amp;PID=56210&amp;title=vertical-scroll-bug#56210</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5400">binkman71</a><br /><strong>Subject:</strong> 16035<br /><strong>Posted:</strong> 18 January 2010 at 3:23pm<br /><br />If you have a ReportControl narrow enough that only two rows are visible, and at that, the second is only partially visible (text leading off to another line or two below the window; might need a multiline text cell to accomplish this), if&nbsp; the user clicks below the thumb tracker in the scroll bar no scrolling occurs.&nbsp; I have debugged through this and found the issue to be in CXTPReportControl::GetReportAreaRows(...), which in this case always returns zero, so the position never updates.&nbsp; The code starting at line 2576 (13.1) or line 2679 (13.2)&nbsp;of XTPReportControl.cpp has the following in the GetReportAreaRows method:<DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;if (top + rowHeight &gt; m_rcReportArea.bottom)<BR>&nbsp;&nbsp;&nbsp;return bMoveDown ? i - nStartRow - 1 : nStartRow - i - 1;</DIV><DIV>&nbsp;</DIV><DIV>I propose the following change, but figured I'd get input here first:</DIV><DIV>&nbsp;</DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;if (top + rowHeight &gt; m_rcReportArea.bottom)</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp; {</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if( i == (nStartRow+ 1) )</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return&nbsp;i;</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return bMoveDown ? i - nStartRow - 1 : nStartRow - i - 1;</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp; }</FONT></DIV><DIV>&nbsp;</DIV><DIV>This does seem to solve the case found in our use of the report control, but again, wanted to run it by here for other input.</DIV><DIV>&nbsp;</DIV><DIV>Thanks,</DIV><DIV>&nbsp;</DIV><DIV>K.</DIV>]]>
   </description>
   <pubDate>Mon, 18 Jan 2010 15:23:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16035&amp;PID=56210&amp;title=vertical-scroll-bug#56210</guid>
  </item> 
 </channel>
</rss>