|
-
May 19th, 2000, 06:29 PM
#1
Help,
My application uses the f1 to f10 keys to do something. They all work, however, after f10 does it's thing it also higlights the 1st item on the menu bar. Try it now and see what I mean. Is there a way to disable this "feature" in windows so that f10 only does what I tell it to do? As of right now the user has to press escape to get back to where he was.
Thanks
-
May 19th, 2000, 11:56 PM
#2
Code:
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyF10 Then
KeyCode = 0
End If
End Sub
-
May 20th, 2000, 02:28 AM
#3
Fanatic Member
In addition, if you are pressing keys while the form has focus, you also must change the property of the "KeyPreview" = True. This will let the form takes keystroke.
Chemically Formulated As:
Dr. Nitro
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
|