|
-
Feb 14th, 2000, 10:03 PM
#1
Thread Starter
Hyperactive Member
I need to create a checkbox_keydown event that holds "keycode" as one of it's parameters.As it is now, VB only gives me "keyascii" as an option.I've got to detect "VBKeyF1" on the keydown so I can set focus so I can get Help to fire correctly then release the focus.No other event can help.This is my last shot to make F1 fire correctly.Please help if this can be done or tell me if it can't.
Joey O.
-
Feb 14th, 2000, 10:36 PM
#2
Hyperactive Member
If everything else fails....
set the keypreview of your form to true and use the form_keydown event...
If KeyCode = vbKeyF1 And ActiveControl.Name = "MyCheckBox" Then
' do something....
End If
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
|