web analytics
How to trigger button click event by pressing enter in a textbox? Options
codeling
Posted: Monday, November 13, 2017 3:47:34 PM

Rank:Advanced Member
Groups: Member
Joined: 12/11/2015
Posts: 916
Points: 3849

To trigger the click event when pressing enter key in the following textbox,

You can do this by setting the AcceptButton property of your form, then pressing enter key in any input boxes will automcatically trigger the click event of the OK button.

Sponsor
Posted: Monday, November 13, 2017 3:47:34 PM
 
Users browsing this topic
Guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.


© 2017 Digcode.com. All rights reserved.