Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

use RETURN key to tab

Status
Not open for further replies.

thepunisher

Programmer
Jul 23, 2004
108
IE
Hi,

I am coding a simple application in VB6.0

How do i set the RETURN / ENTER key to the tab button.

I want to be able to tab through various text boxes using the return button rather than the tab button.

How do i do this?

thanks,

thePunisher

Chief Dan George-Get ready little lady, hell is coming to breakfast
 
Place this in the keypress event.

If KeyAscii = 13 Then
SendKeys "{TAB}"
KeyAscii = 0
End If

Two strings walk into a bar. The first string says to the bartender: 'Bartender, I'll have a beer. u.5n$x5t?*&4ru!2[sACC~ErJ'. The second string says: 'Pardon my friend, he isn't NULL terminated'.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top