473,396 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Remapping the keyboard up/down arrows for tab stops

I have a Continous Form with 5 or so fields for each record, in a line
from left to right. Because the Contuous Form lists several records
at once, the form looks pretty much like a Datasheet. So, I'd like to
be able to navigate it like one when using the up/down/left/right
arrow keys of the keyboard. I have the fields set with tab stop
settings so that hitting the tab key moves one field to the right.
The problem I'm having is when I hit the down key of the keyboard, I
would like the navigation to jump to the record below the current
record, keeping the same field in focus. Instead, navigation simply
tab stops to the right. Likewise when I try to navigate "up" with the
up arrow key, it navigates to the left.

The left and right keys navigate fine through the tab stops, but
because the up/down keys are doing the same thing as the right/left
keys, they are pretty useless.

Is there a way to modify this behavior?

Thanks,
Rich
Nov 13 '05 #1
1 3284

"Richard Coutts" <rc*****@comcast.net> wrote in message
news:70**************************@posting.google.c om...
I have a Continous Form with 5 or so fields for each record, in a line
from left to right. Because the Contuous Form lists several records
at once, the form looks pretty much like a Datasheet. So, I'd like to
be able to navigate it like one when using the up/down/left/right
arrow keys of the keyboard. I have the fields set with tab stop
settings so that hitting the tab key moves one field to the right.
The problem I'm having is when I hit the down key of the keyboard, I
would like the navigation to jump to the record below the current
record, keeping the same field in focus. Instead, navigation simply
tab stops to the right. Likewise when I try to navigate "up" with the
up arrow key, it navigates to the left.

The left and right keys navigate fine through the tab stops, but
because the up/down keys are doing the same thing as the right/left
keys, they are pretty useless.

Is there a way to modify this behavior?

Thanks,
Rich


Ya, I like using the arrow keys too. Lots of ways to do what you want, this
one works for me:

Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
On Error Resume Next
If KeyCode = 40 Then
DoCmd.GoToRecord , , acNext
End If
If KeyCode = 38 Then
DoCmd.GoToRecord , , acPrevious
End If
Exit Sub
End Sub

HTH,
Randy
Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: dreamer | last post by:
I am making a program for a friend with a disability. I need to adjust his audio volume using the keyboard as he cannot use a mouse. Any suggestions as to how I can raise the volume using the up...
2
by: rbscheer | last post by:
Hi. Is it possible to use Javascript to simulate a keyboard key? For example, when the user clicks an image a piece of code runs the F1 key, or a combination of keys like SHIFT+F2. Thanks,...
1
by: Raffi | last post by:
I'm trying to re-map mouse buttons and/or keyboard keys using javascript. Examples are the right mouse button event being replaced by the enter key or even ctrl-C. Is this possible with javascript?...
0
by: George Hartas | last post by:
I am using Visual C# .NET 2003 to make a ComboBox accept both mouse and keyboard selection. For mouse selection code, I double-clicked ComboBox to get the default "comboBox1_SelectedIndexChanged"...
0
by: Jim H | last post by:
I'm trying to use an owner draw ListBox by subscribing to the DrawItem event to draw my custom control as an item in the ListBox. This event is triggered when I drag the scroll button but NOT when...
0
by: Kenny | last post by:
I have been given the task of writting a sample application to remap the keyboard. Does anybody have a clue how I would approach this.
1
by: Susan | last post by:
For some reason, the keyboard remapps itself in the .Net Visual Studio environment occassionally. For instance 'z' will become 'e' and 'x' becomes 'k'. This only happens in the .Net environment so...
0
by: Fromethius | last post by:
Hi everyone. For the past day I've been trying to find a good way to handle keyboard input. Naturally, I wanted to just use WM_KEYDOWN and WM_KEYUP to handle my events, but they proven to have...
13
by: andypb123 | last post by:
Hello, The onchange event fires in IE6 in a SELECT element when scrolling through the list with the up and down arrows on the keyboard. In Firefox it only fires after you hit the enter key, which...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.