<?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 : Excel style keyboard for report c&#111;ntrol</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Excel style keyboard for report c&#111;ntrol]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 06 Apr 2026 05:19:34 +0000</pubDate>
  <lastBuildDate>Thu, 15 Jun 2006 16:24:12 +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=4407</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[Excel style keyboard for report c&#111;ntrol :  Hi,Report control has some standard...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4407&amp;PID=13667&amp;title=excel-style-keyboard-for-report-control#13667</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 4407<br /><strong>Posted:</strong> 15 June 2006 at 4:24pm<br /><br />Hi,<br><br>Report control has some standard behavior, and a lot of functionality for customization <img alt="Wink" src="http://forum.codejock.com/smileys/smiley2.gif" align="absmiddle" border="0"><br><br>This feature could be implemented easily with handling XTP_NM_REPORT_PREVIEWKEYDOWN message. See below for an example:<br><table width="99%"><tr><td><pre class="BBcode"><br>ON_NOTIFY(XTP_NM_REPORT_PREVIEWKEYDOWN, XTP_ID_REPORT_CONTROL, OnReportPreviewKeyDown)<br>.....<br>void CYourForm::OnReportPreviewKeyDown(NMHDR * pNotifyStruct, LRESULT *result)<br>{<br>&nbsp;&nbsp;&nbsp; XTP_NM_REPORTPREVIEWKEYDOWN* pKeyNotify = (XTP_NM_REPORTPREVIEWKEYDOWN*) pNotifyStruct;<br>&nbsp;&nbsp;&nbsp; ASSERT(pKeyNotify);<br><br>&nbsp;&nbsp;&nbsp; if (pKeyNotify-&gt;nChar == VK_DOWN)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pKeyNotify-&gt;bCancel = TRUE;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_wndReport.GetNavigator()-&gt;MoveDown();<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; else if (pKeyNotify-&gt;nChar == VK_UP)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pKeyNotify-&gt;bCancel = TRUE;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_wndReport.GetNavigator()-&gt;MoveUp();<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; else if (pKeyNotify-&gt;nChar == VK_RETURN)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pKeyNotify-&gt;bCancel = TRUE;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_wndReport.GetNavigator()-&gt;MoveDown();<br>&nbsp;&nbsp;&nbsp; }<br>}<br></pre></td></tr></table><br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Thu, 15 Jun 2006 16:24:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4407&amp;PID=13667&amp;title=excel-style-keyboard-for-report-control#13667</guid>
  </item> 
  <item>
   <title><![CDATA[Excel style keyboard for report c&#111;ntrol : Hi, we also need this feature....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4407&amp;PID=13633&amp;title=excel-style-keyboard-for-report-control#13633</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=976">pascal</a><br /><strong>Subject:</strong> 4407<br /><strong>Posted:</strong> 14 June 2006 at 11:29am<br /><br />Hi, we also need this feature. We used in the past the CUGGrid from Dundas. Please add the functionallity to a next release.]]>
   </description>
   <pubDate>Wed, 14 Jun 2006 11:29:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4407&amp;PID=13633&amp;title=excel-style-keyboard-for-report-control#13633</guid>
  </item> 
  <item>
   <title><![CDATA[Excel style keyboard for report c&#111;ntrol : I&amp;#039;m using the report control...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4407&amp;PID=13632&amp;title=excel-style-keyboard-for-report-control#13632</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1003">Warren</a><br /><strong>Subject:</strong> 4407<br /><strong>Posted:</strong> 14 June 2006 at 11:14am<br /><br />I'm using the report control in a dialog. I have two columns and a variable number of rows (e.g. 7 rows). I'm basically using the report control as a simplified "grid control", which works well, except for the keyboard use.&nbsp; <br><br>Although I've purchased a grid control (Dundas) I'd rather not use it(or any another grid control for that matter), because I want myvalidation/look+feel/etc to be uniform throughout the application.<br><br>My particular issues are:<br>1) When editing a cell, pressing Enter doesn't move to the next cell below. <br>2) When editing a cell, pressing the up/down arrow doesn't move to the next cell.<br><br>So my question/request is...<br><br>Is there a simple way to make the report control act like a grid control, or should I just catch the keyboard messages and try to respond appropriately? I guess I can derive + do this myself, but I imagine it's a common request, so maybe you could make up an "excel" sample app?<img src="http://forum.codejock.com/smileys/smiley1.gif" border="0"><br><br>Thanks<br><br>Warren<br>]]>
   </description>
   <pubDate>Wed, 14 Jun 2006 11:14:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4407&amp;PID=13632&amp;title=excel-style-keyboard-for-report-control#13632</guid>
  </item> 
 </channel>
</rss>