Solved

Command Button problem..

Posted on 2003-12-02
3
367 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 50 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

867 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now