Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple Question: Arrow Keys and textboxes 1

Status
Not open for further replies.

wxkeep

Programmer
Jul 5, 2005
57
US
On my form, when I tab into a textbox containing a short date (with an input mask of short date) it highlights the entire date. This is fine because if my user starts typing - they will start keying in an entire date. But many of my users do not need to change the entire date so they press the left or right arrow keys expecting to move the cursor to just the month or the day in the field so they can change two numbers instead of all of them - but instead the arrow key moves the focus to the next date box. Is there a way that I can change it so that either:

a) arrow keys never navigate my form (only move the cursor in textboxes and navigate the drop down of combo boxes)

OR

b) left and right arrow keys bring up the cursor in a text box not navigate to the next textbox?

Thanks!
 
How are ya wxkeep . . . . .

Tools - Options - Keyboard Tab. See the [blue]Arrow key behavior section.[/blue]

Calvin.gif
See Ya! . . . . . .
 
morning Aceman1, things are good here, thanks for asking.

well, would you look at that. A simple (non-code) answer. I like those answers, thanks a lot - I think that may accomplish exactly what I'm after!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top