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
Textbox tabout using enter key & keyup, keydown
Author:
mohan.m
E-mail:
Click to e-mail author
Submitted:
7/1/2006
Version:
VB.NET 2003
Compatibility:
VB.NET 2003, VB.NET 2005
Category:
String Manipulation
Views:
83553
Basically windows applications contain many textboxes and buttons. Usally clients press tab key to move cursor to another textbox. Apart from that clients can press down key as well as up key.
Declarations:
'none
Code:
'write the code in key press event 'when press enter key it act as tab key if e.keycode=keys.enter then sendkeys.send("{tab]") when press down key if e.keycode=keys.down then sendkeys.send("{tab}") 'when press up key if e.keycode=keys.down then sendkeys.send("+{tab}")
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement