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

how do I check for return press?

Status
Not open for further replies.

taval

Programmer
Jul 19, 2000
192
GB
My question is how can I in a textbox check if the return key is pressed and if it is pressed, execute a respective button(submit) press. I currently have three text boxes and respective buttons for each, such as:<br><br>&lt;text box1&gt;&lt;button1&gt;<br>&lt;text box2&gt;&lt;button2&gt;<br>&lt;text box3&gt;&lt;button3&gt;<br><br>So for example if I pressed the return key in textbox1, how would I execute/press button1 automatically.<br><br>grateful for any help,<br>thanks.<br><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top