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
Send Key to another control
Author:
Henry Thet
Submitted:
6/30/2009
Version:
VB 2005
Compatibility:
VB 2005, VB 2008
Category:
Controls
Views:
13492
Send the cursor to another control without coding every control.
Declarations:
Form KeyPreview properties is true
Code:
Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown If e.KeyCode = Keys.Enter Then e.SuppressKeyPress = False 'For Beep ProcessTabKey(True) End If End Sub
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement