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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form Combo Boxes Question

Status
Not open for further replies.

Learning123

Programmer
Joined
May 12, 2002
Messages
29
Location
US
Hi,
I'm working on a script for a combo box which the user can press the "up" and "down" key to switch records, rather having the user move the mouse to the drop arrow and then selecting the item. SOrry if this decription a bit vague, if you have any questions please reply. As always thank you very much for your time and help!

jeff
 
No offense intended, but why do you want to do this? The keyboard went out when the mouse came in. Windows events are almost entirely driven by the mouse. If a user doesn't like the mouse, they should load DOS and be happy! lol

[afro2]

 
LOL.. Very True, I must agree with you. I guess the reason they wanted it with keyboard function is because it would be less moving from mouse to keyboard, keyboard to mouse, ect.
 
Visitor158, I respectfully beg to differ. [bigsmile] Try entering data with only a mouse and see how far you get. And a keyboard fires off the Change, Enter, Exit, GotFocus, LostFocus, BeforeUpdate, AfterUpdate, KeyUp, KeyDown , KeyPress and Current Events.

Actually, studies have shown that making applications more keyboard friendly improves performance and enhances learning and retention. In fact, I've demonstrated some of my applications first by disconnecting the mouse entirely. And I've found MOST people are perfectly willing to keep their hands on the keyboard.

Mice are great for manipulating objects and for "pointing the clicking" - but lousy for navigating, entering data, and many other tasks better suited for the keyboard.

The best idea of course, is to allow EITHER tool to be used according to the user's preferences - thus, the Command button that can be CLICKED or energised by an ALT-Letter key, or TABBED in to and ENTER-keyed. All work just fine.

The idea of using a combo box for record navigation is hardly novel.

In the combo boxes I see, the up and down arrows change highlighted rows. So to answer the poster's question, you can use the keyboard in a dropped-down combo box to select a line in the combo, tap ENTER and have the form show that record.

See Option #3 in the Combo box wizard.

Jim



How many of you believe in telekinesis? Raise my hand...
Another free Access forum:
More Access stuff at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top