[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Command Button problem..

Posted on 2003-12-02
3
Medium Priority
?
376 Views
Last Modified: 2010-05-18
Hi experts,
I have a few buttons  in my application ; for example "enter" "close" "stop" buttons
after user have fill in the inputs, usually user need to click on the "enter" button to proceed.
Instead of clicking the button, how can i make it so that user can just push Enter on the keyboard and the "enter" button in my application will automatically clicked. Meaning that i wannt to avoid using mouse.

i have mention a have a few buttons, so maybe in simple words, i want to make "enter" button to be default button so that i just need to push Enter on the keyboard to activate it instead of clicking on it.

i hope my question is clear.. :)
0
Comment
Question by:michelle_branch
3 Comments
 
LVL 39

Accepted Solution

by:
appari earned 150 total points
ID: 9864129
set the default property of the command button to true.
0
 
LVL 1

Expert Comment

by:MsLim
ID: 9864198
set the tabindex order in the right sequence , upon complete enetring let say the last field tabindex order is 20 , the this enter command button must be set as 21 . so that you can press enter upon complete last line and press tab key.

the others way is set the caption of this enter button with one character is underline and this underline character must unique in this form (eg E is underline).then upon finish entering , User can just press Alt key with e key together
0
 

Author Comment

by:michelle_branch
ID: 9864558
waa.. so easy aa..
i lost 50 points just for this easy one.. huhu
nevermind laa.. i owe you 2 times Appari.. thanks
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question