Captures TAB-keystroke on form with more than one control
Captures TAB-keystroke on form with more than one control
Rate Captures TAB-keystroke on form with more than one control
(2(2 Vote))
Select Case KeyCode
Case vbKeyTab 'Corresponds with 9
'This code is simple enough. The difficulty lies in realizing that this picturebox should be the ONLY control with its TABSTOP property set to TRUE, else the keystroke won't be captured, as VB wants to shift the focus to it's own next control.
Captures TAB-keystroke on form with more than one control Comments
No comments yet — be the first to post one!
Post a Comment