<?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 : Scrollbars</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Scrollbars]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 12:16:07 +0000</pubDate>
  <lastBuildDate>Thu, 20 Nov 2008 10:49:55 +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=12628</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[Scrollbars : Hi,   The hat is empty (no tricks...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12628&amp;PID=43037&amp;title=scrollbars#43037</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 12628<br /><strong>Posted:</strong> 20 November 2008 at 10:49am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>The hat is empty (no tricks in it...) <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>Maybe you need&nbsp;to approach this another way. FocusChange event of RC is fired when using arrow / page-up / page-down keys.</DIV><DIV>&nbsp;</DIV><DIV>You could use this FocusChange event to determine if last row is selected:</DIV><DIV>&nbsp;</DIV><DIV>If wndReportControl.Rows.Count = NewRow.Index + 1 Then "Do Something"</DIV><DIV>&nbsp;</DIV><DIV>If you would use wndReportControl.Navigator.MoveLastVisibleRow in VScroll_Change event the FocusChange event will be fired everytime the user clicks on scrollbar buttons. <strong>But this doesn't work correct, CJ developers. </strong>Only when scrolling to the top works correct. Scrolling down it doesn't select last visible row <img src="http://forum.codejock.com/smileys/smiley5.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 20 Nov 2008 10:49:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12628&amp;PID=43037&amp;title=scrollbars#43037</guid>
  </item> 
  <item>
   <title><![CDATA[Scrollbars : One more try and bare with me...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12628&amp;PID=42975&amp;title=scrollbars#42975</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2523">oddi</a><br /><strong>Subject:</strong> 12628<br /><strong>Posted:</strong> 19 November 2008 at 7:30am<br /><br />One more try and bare with me on this, i am quite new to these controls.<br>The code you showed me works perfectly with the scrollbar, i can load next buffer to grid when scrollbar hits bottom <img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" align="absmiddle">.<br><br>But how about when i scroll the grid with the mouse or page down, the report control does not fire the scrollbar change event. <img src="http://forum.codejock.com/smileys/smiley5.gif" border="0" align="absmiddle"><br><br>Aaron i am sure you know a trick or two to guide me on the right track regarding this issue.<br><br>Again thanks for all the support.<br><br>Regards,<br><br><br>]]>
   </description>
   <pubDate>Wed, 19 Nov 2008 07:30:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12628&amp;PID=42975&amp;title=scrollbars#42975</guid>
  </item> 
  <item>
   <title><![CDATA[Scrollbars : Thanx alot Aaron.Helps me a lot...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12628&amp;PID=42702&amp;title=scrollbars#42702</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2523">oddi</a><br /><strong>Subject:</strong> 12628<br /><strong>Posted:</strong> 07 November 2008 at 8:48am<br /><br />Thanx alot Aaron.<br>Helps me a lot <img src="http://forum.codejock.com/smileys/smiley4.gif" border="0" align="absmiddle"><br>]]>
   </description>
   <pubDate>Fri, 07 Nov 2008 08:48:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12628&amp;PID=42702&amp;title=scrollbars#42702</guid>
  </item> 
  <item>
   <title><![CDATA[Scrollbars :   oddi wrote:Is there a way to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12628&amp;PID=42699&amp;title=scrollbars#42699</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 12628<br /><strong>Posted:</strong> 07 November 2008 at 7:58am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oddi" alt="Originally posted by oddi" style="vertical-align: text-bottom;" /> <strong>oddi wrote:</strong><br /><br />Is there a way to know when the scrollbar hits bottom.<BR>What i am trying to do is this.<BR>I attached a codejock scrollbar to the reportcontrol and lets say i load 100 records to the reportcontrol i want to add the next buffer (100) when the scrollbar hits bottom, the thing is that the value scrollbar max value changes all the time when reportcontrol is resized.<BR>Hope this makes any sense.<BR><BR>Regards<BR></td></tr></table> <DIV>&nbsp;</DIV><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>Value of VerticalScroll will always be number of rows <strong>MINUS</strong> number of visible rows. To determine how many rows are in the visible portion of RC:</DIV><DIV>&nbsp;</DIV><DIV>Dim firstRow As Long<BR>Dim lastRow As Long</DIV><DIV>Dim numberOfVisibleRows as long</DIV><DIV><BR>wndReportControl.Navigator.MoveFirstVisibleRow<BR>firstRow = wndReportControl.FocusedRow.Index<BR>wndReportControl.Navigator.MoveLastVisibleRow<BR>lastRow = wndReportControl.FocusedRow.Index</DIV><DIV>&nbsp;</DIV><DIV>So:</DIV><DIV>&nbsp;</DIV><DIV>numberOfVisibleRows = lastRow - firstrow</DIV><DIV>&nbsp;</DIV><DIV>So:</DIV><DIV>&nbsp;</DIV><DIV>If wndReportControlData.Rows.Count = (VScroll.Value + 1) +&nbsp;numberOfVisibleRows&nbsp; Then "Do Something"</DIV><DIV>&nbsp;</DIV><DIV><EM>Note:&nbsp;VScroll.Value is zero based, that's why +1</EM></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 07 Nov 2008 07:58:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12628&amp;PID=42699&amp;title=scrollbars#42699</guid>
  </item> 
  <item>
   <title><![CDATA[Scrollbars : Yes.  ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12628&amp;PID=42688&amp;title=scrollbars#42688</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2523">oddi</a><br /><strong>Subject:</strong> 12628<br /><strong>Posted:</strong> 07 November 2008 at 5:18am<br /><br />Yes.]]>
   </description>
   <pubDate>Fri, 07 Nov 2008 05:18:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12628&amp;PID=42688&amp;title=scrollbars#42688</guid>
  </item> 
  <item>
   <title><![CDATA[Scrollbars : Hi,  Do you use SetScrollBars...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12628&amp;PID=42686&amp;title=scrollbars#42686</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12628<br /><strong>Posted:</strong> 07 November 2008 at 5:17am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Do you use SetScrollBars method to attach it ?</DIV>]]>
   </description>
   <pubDate>Fri, 07 Nov 2008 05:17:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12628&amp;PID=42686&amp;title=scrollbars#42686</guid>
  </item> 
  <item>
   <title><![CDATA[Scrollbars :    Is there a way to know when...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12628&amp;PID=42673&amp;title=scrollbars#42673</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2523">oddi</a><br /><strong>Subject:</strong> 12628<br /><strong>Posted:</strong> 07 November 2008 at 3:55am<br /><br />Is there a way to know when the scrollbar hits bottom.<br>What i am trying to do is this.<br>I attached a codejock scrollbar to the reportcontrol and lets say i load 100 records to the reportcontrol i want to add the next buffer (100) when the scrollbar hits bottom, the thing is that the value scrollbar max value changes all the time when reportcontrol is resized.<br>Hope this makes any sense.<br><br>Regards<br>]]>
   </description>
   <pubDate>Fri, 07 Nov 2008 03:55:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12628&amp;PID=42673&amp;title=scrollbars#42673</guid>
  </item> 
 </channel>
</rss>