|
-
Apr 25th, 2002, 12:30 PM
#1
Tab in a Textbox
Do This:
Place two textboxes on a form.
Now tell me how to capture the TAB key, without setting TabStop Settings.
I've got everything else figured out, can't do this one.
Hoping for the best.
-
Apr 25th, 2002, 12:36 PM
#2
VB Code:
Private Declare Function GetKeyState Lib "user32" (ByVal nVirtKey As Long) As Integer
Private Sub Text1_LostFocus()
If GetKeyState(vbKeyTab) < 0 Then
Text1.SetFocus
MsgBox "You can check out anytime you " & _
"want, but you can never leave. (Who's your daddy?)"
End If
End Sub
-
Apr 25th, 2002, 12:40 PM
#3
Welcome to the Hotel California....
Beautiful Thank you. All is well at HC. Good song
-
Apr 25th, 2002, 12:48 PM
#4
As peet would say...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|