by Nikhil Upadhyay (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Tue 9th September 2003
Date Added: Mon 8th February 2021
Rating:
(1 Votes)
Use Enter Key instead of Tab key in text box.
put this code in keypress event of any control
' here keyascii is a inbuilt argument return by the keypress event
if keyascii = 13 then
sendkeys "{TAB}"
end if