<?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 : Select All in 13.2 ?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Select All in 13.2 ?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 06:52:58 +0000</pubDate>
  <lastBuildDate>Thu, 24 Sep 2009 08:44:07 +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=15232</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[Select All in 13.2 ? :  ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15232&amp;PID=53416&amp;title=select-all-in-13-2#53416</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4049">Lodep59</a><br /><strong>Subject:</strong> 15232<br /><strong>Posted:</strong> 24 September 2009 at 8:44am<br /><br /><img src="http://forum.codejock.com/smileys/smiley20.gif" border="0">]]>
   </description>
   <pubDate>Thu, 24 Sep 2009 08:44:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15232&amp;PID=53416&amp;title=select-all-in-13-2#53416</guid>
  </item> 
  <item>
   <title><![CDATA[Select All in 13.2 ? : Sure - it was just proto - SVN...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15232&amp;PID=53415&amp;title=select-all-in-13-2#53415</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 15232<br /><strong>Posted:</strong> 24 September 2009 at 8:36am<br /><br /><P>Sure - it was just proto - SVN code here:</P><FONT size=2><P></FONT><FONT color=#0000ff size=2>case</FONT><FONT size=2> </FONT><FONT color=#a31515 size=2>'A'</FONT><FONT size=2>:</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (IsSelectionEnabled() &amp;&amp; !bShiftKey &amp;&amp; bControlKeyOnly) {</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (IsVirtualMode()) { GetNavigator()-&gt;MoveToRow(0); GetNavigator()-&gt;MoveToRow(GetRecords()-&gt;GetCount() - 1, TRUE); }</P><P></FONT><FONT color=#0000ff size=2>else </FONT><FONT size=2>{ _SelectRows(GetRecords()); }</P><P>RedrawControl(); }</P><P></P></FONT>]]>
   </description>
   <pubDate>Thu, 24 Sep 2009 08:36:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15232&amp;PID=53415&amp;title=select-all-in-13-2#53415</guid>
  </item> 
  <item>
   <title><![CDATA[Select All in 13.2 ? : It works ! :) Just a precision,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15232&amp;PID=53408&amp;title=select-all-in-13-2#53408</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4049">Lodep59</a><br /><strong>Subject:</strong> 15232<br /><strong>Posted:</strong> 24 September 2009 at 1:31am<br /><br />It works ! :)<DIV>Just a precision, you can replace :</DIV><DIV>&nbsp;</DIV><DIV><P>GetNavigator()-&gt;MoveToRow(0);</P><DIV>GetNavigator()-&gt;MoveToRow(GetRecords()-&gt;GetCount(), TRUE);</DIV><DIV>&nbsp;</DIV><DIV>By</DIV><DIV>&nbsp;</DIV><DIV><P>GetNavigator()-&gt;MoveToRow(0);</P><DIV>GetNavigator()-&gt;MoveToRow(GetRecords()-&gt;GetCount()<FONT color=#ff0000> -1</FONT> , TRUE);</DIV><DIV>&nbsp;</DIV><DIV>In fact&nbsp;I note that Naviator go to row which index = parameter.<BR>That's why you need to use "MoveToRow(0)" to select first line.</DIV><DIV>&nbsp;</DIV><DIV>In any way, thank you for implementing this :)</DIV><DIV>I don't need my custom method anymore !</DIV><DIV>&nbsp;</DIV><DIV>Have a nice day.</DIV></DIV></DIV>]]>
   </description>
   <pubDate>Thu, 24 Sep 2009 01:31:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15232&amp;PID=53408&amp;title=select-all-in-13-2#53408</guid>
  </item> 
  <item>
   <title><![CDATA[Select All in 13.2 ? : So finally I add a case:  else...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15232&amp;PID=53406&amp;title=select-all-in-13-2#53406</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 15232<br /><strong>Posted:</strong> 23 September 2009 at 5:43pm<br /><br />So finally I add a case:<FONT size=2> <P></FONT><FONT color=#0000ff size=2>else</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (IsVirtualMode() &amp;&amp; IsSelectionEnabled() &amp;&amp; !bShiftKey &amp;&amp; bControlKeyOnly) {</P><P>GetNavigator()-&gt;MoveToRow(0);</P><P>GetNavigator()-&gt;MoveToRow(GetRecords()-&gt;GetCount(), TRUE);</P><P>RedrawControl(); }</P><DIV></DIV><DIV>and it works </DIV><DIV>please try recent updated ocx - <a href="https://forum.codejock.com/uploads/BetaOCX/ReportC&#111;ntrolBeta13-2.rar" target="_blank">https://forum.codejock.com/uploads/BetaOCX/ReportControlBeta13-2.rar</A></DIV><DIV>and use Control + A</DIV><DIV></FONT>&nbsp;</DIV><DIV>I&nbsp;confirmed result for VB VirtualList sample and for my MFC EditVirtualListIcon sample</DIV>]]>
   </description>
   <pubDate>Wed, 23 Sep 2009 17:43:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15232&amp;PID=53406&amp;title=select-all-in-13-2#53406</guid>
  </item> 
  <item>
   <title><![CDATA[Select All in 13.2 ? : I agree - but don&amp;#039;t want...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15232&amp;PID=53405&amp;title=select-all-in-13-2#53405</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 15232<br /><strong>Posted:</strong> 23 September 2009 at 4:50pm<br /><br />I agree - but don't want to add it TODAY - let's release gone first <DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>btw - in <a href="https://forum.codejock.com/uploads/DemoVersi&#111;n/ReportSampleStatic.rar" target="_blank">https://forum.codejock.com/uploads/DemoVersion/ReportSampleStatic.rar</A></DIV><DIV>you can use Control + A - please try</DIV><DIV>&nbsp;</DIV><DIV>and this is a code behind:</DIV><DIV><FONT color=#0000ff size=2><P>void</FONT><FONT size=2> CXTPReportControl::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags) {</P><DIV>.............................................</FONT><FONT size=2></FONT><FONT color=#0000ff size=2></FONT></DIV><DIV><FONT color=#0000ff size=2>case</FONT><FONT size=2> </FONT><FONT color=#a31515 size=2>'A'</FONT><FONT size=2>:</DIV></DIV><DIV><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (!IsVirtualMode() &amp;&amp; IsSelectionEnabled() &amp;&amp; !bShiftKey &amp;&amp; bControlKeyOnly) {</P><P>_SelectRows(GetRecords());</P><P>RedrawControl(); }</P><P></FONT><FONT color=#0000ff size=2>break</FONT><FONT size=2>;</P></FONT></DIV>]]>
   </description>
   <pubDate>Wed, 23 Sep 2009 16:50:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15232&amp;PID=53405&amp;title=select-all-in-13-2#53405</guid>
  </item> 
  <item>
   <title><![CDATA[Select All in 13.2 ? : Did i said the contrary ? I just...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15232&amp;PID=53404&amp;title=select-all-in-13-2#53404</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4049">Lodep59</a><br /><strong>Subject:</strong> 15232<br /><strong>Posted:</strong> 23 September 2009 at 4:50pm<br /><br /><P>Did i said the contrary ?</P><DIV>I just said that a "SelectAll" method could be interresting, you know, just to avoid these dirties "custom methods"...</DIV><DIV>And, just for information, what&nbsp;I can't understand is that the "MoveFirstRow" and "MoveLastRow" doesn't work now... But, yes, i've updated my custom method... and now it works. Thank you.</DIV>]]>
   </description>
   <pubDate>Wed, 23 Sep 2009 16:50:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15232&amp;PID=53404&amp;title=select-all-in-13-2#53404</guid>
  </item> 
  <item>
   <title><![CDATA[Select All in 13.2 ? : OK - but you can also understand...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15232&amp;PID=53402&amp;title=select-all-in-13-2#53402</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 15232<br /><strong>Posted:</strong> 23 September 2009 at 4:36pm<br /><br />OK&nbsp; - but you can also understand that YOUR SelectAll method will be changed on YOUR NEW SelectAll method. This is life.... Custom method...]]>
   </description>
   <pubDate>Wed, 23 Sep 2009 16:36:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15232&amp;PID=53402&amp;title=select-all-in-13-2#53402</guid>
  </item> 
  <item>
   <title><![CDATA[Select All in 13.2 ? :  And why having a high number...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15232&amp;PID=53401&amp;title=select-all-in-13-2#53401</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4049">Lodep59</a><br /><strong>Subject:</strong> 15232<br /><strong>Posted:</strong> 23 September 2009 at 4:31pm<br /><br /><img src="http://forum.codejock.com/smileys/smiley18.gif" border="0"><DIV></DIV>And why having a high number of rows&nbsp;makes "select all" method less logical ?<DIV>I'm using virtual mode in my apps (and a very high numbers of rows - more than 100.000) and "select all" is very usefull !</DIV><DIV>&nbsp;</DIV><DIV>The proof is that with the new 13.2 version, my "select all" method doesn't work anymore (the reason of this post) and you can believe in me that my users are not happy <img src="http://forum.codejock.com/smileys/smiley4.gif" border="0"></DIV>]]>
   </description>
   <pubDate>Wed, 23 Sep 2009 16:31:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15232&amp;PID=53401&amp;title=select-all-in-13-2#53401</guid>
  </item> 
  <item>
   <title><![CDATA[Select All in 13.2 ? : We have SelectAll (Ctrl+A) method...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15232&amp;PID=53398&amp;title=select-all-in-13-2#53398</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 15232<br /><strong>Posted:</strong> 23 September 2009 at 4:00pm<br /><br />We have SelectAll (Ctrl+A) method in non-virtual mode. I consider SelectAll in virtual mode less than logical as usual in virtual mode you have huge number of records....]]>
   </description>
   <pubDate>Wed, 23 Sep 2009 16:00:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15232&amp;PID=53398&amp;title=select-all-in-13-2#53398</guid>
  </item> 
  <item>
   <title><![CDATA[Select All in 13.2 ? : Yes, don&amp;#039;t understand really...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15232&amp;PID=53396&amp;title=select-all-in-13-2#53396</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4049">Lodep59</a><br /><strong>Subject:</strong> 15232<br /><strong>Posted:</strong> 23 September 2009 at 3:42pm<br /><br />Yes, don't understand really why but this work :<DIV>&nbsp;</DIV><BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr><DIV><FONT color=#000099 face="Courier New, Courier, mono">Me.wndReportControl.navigator.MoveToRow 0, False<BR>Me.wndReportControl.navigator.MoveToRow Me.ReportDataGrid.Rows.Count, True</FONT></DIV></BLOCKQUOTE><DIV><FONT color=#000099 face="Courier New, Courier, mono"></FONT>&nbsp;</DIV><DIV>For the "Movetorow 0" --&gt; if you select row 10 and use "MoveFirstRow" the row n°10 stay selected. <img src="http://forum.codejock.com/smileys/smiley5.gif" border="0"></DIV><DIV>Note that MoveToRow 1 select the row n°2... not really logical !</DIV><DIV>&nbsp;</DIV><DIV>So, MoveFirstRow et MoveLastRow don't work in virtual mode. You'll need to note it in help file <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>A "SelectAll"&nbsp;method may be great&nbsp; <img src="http://forum.codejock.com/smileys/smiley9.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>Thank you Mark, without these little problems the report control become a great control, very powerfull.</DIV><DIV>A few more enhancements and corrections and it will be perfect !</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 23 Sep 2009 15:42:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15232&amp;PID=53396&amp;title=select-all-in-13-2#53396</guid>
  </item> 
 </channel>
</rss>