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

vbKeyTab

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
How can I get the Tab key to trigger the KeyDown/ KeyUp events?
 
You can add something like this to your form:
Code:
Private Sub Form_KeyPress(KeyAscii As Integer)
    If KeyAscii = vbKeyTab Then
        'Call the KeyDown/KeyUp procedures
    End If
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top