I have a textBox and search button, I would ask about how can I make the user can click Enter to start searching without need to go and click the search button?
I have a textBox and search button , I would ask about how can
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The Form has a property called “AcceptButton” that identifies a button that should be associated to the “Enter” keypress. Its considered the “default action” for the form.
More info here:
Windows Form – AcceptButton property