<?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 : How to edit items using cursor keys</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : How to edit items using cursor keys]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 05:40:28 +0000</pubDate>
  <lastBuildDate>Wed, 09 Dec 2009 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=15809</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[How to edit items using cursor keys : Hi all,  I&amp;#039;ve a program...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15809&amp;PID=55497&amp;title=how-to-edit-items-using-cursor-keys#55497</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5749">Nemesys</a><br /><strong>Subject:</strong> 15809<br /><strong>Posted:</strong> 09 December 2009 at 10:49am<br /><br />Hi all,<DIV>&nbsp;</DIV><DIV>I've a program developed under VB6. It uses Reportcontrol to show/edit data, but the only way to edit a item is clicking once with mouse. There is a way to edit reportcontrol using the cursor keys to navigate across the items of the selected row?</DIV><DIV>&nbsp;</DIV><DIV>I've tried using the following code:</DIV><DIV>&nbsp;</DIV><DIV>Private Sub REPORTCONTROL_KeyDown(KeyCode As Integer, Shift As Integer)<BR>If REPORTCONTROL.SelectedRows.count = 0 Then Exit Sub<BR>If KeyCode &lt;&gt; 40 And KeyCode &lt;&gt; 39 And KeyCode &lt;&gt; 38 And KeyCode &lt;&gt; 37 Then<BR>&nbsp;&nbsp;&nbsp; REPORTCONTROL.EditItem REPORTCONTROL.SelectedRows(0), REPORTCONTROL.Columns(1)<BR>End If<BR>End Sub</DIV><DIV>&nbsp;</DIV><DIV>The problem is that when the user press the key only can edit the item of the column 1.</DIV><DIV>&nbsp;</DIV><DIV>Thanks in advance.</DIV>]]>
   </description>
   <pubDate>Wed, 09 Dec 2009 10:49:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15809&amp;PID=55497&amp;title=how-to-edit-items-using-cursor-keys#55497</guid>
  </item> 
 </channel>
</rss>