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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tab with enter

Status
Not open for further replies.

elibb

Programmer
Oct 22, 2001
335
MX
hi, i have vb6.0 application, and i want to find a way to make the focus go to the next "tabindex" item, by pressing enter, instead of tab.
is there a way to make it easy and fast?

thank you very much

Eli
 

I use this on the keypress event

Private Sub FirstName_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
SendKeys vbTab
End If
End Sub
 
thank You very much.. exactly what i needed..

Eli
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top