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

Command Button to Respond to Enter

Status
Not open for further replies.

bill1one

Programmer
Sep 29, 2004
93
US
When ever I press Enter on my keyboard, the focus simply goes to the command button. I have to press enter again to get the command button to run. I've looked in the properties and options and can't find anything to switch the way the form responds to pressing the enter key.
 
Have you tried to set the Default property of the CommandButton to True ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top