Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
Press Enter in Textbox to Trigger Click Event
Author:
jonaz
Submitted:
6/1/2007
Version:
VB 2005
Compatibility:
VB 2005, VB 2008
Category:
Controls
Views:
105962
Press Enter in Textbox to Trigger Click Event.
Declarations:
'none
Code:
If e.KeyChar = Chr(13) Then 'Chr(13) is the Enter Key 'Runs the Button1_Click Event Button1_Click(Me, EventArgs.Empty) End If
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2023 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement