Hi I need know the value of the F1 key so I can detect it's being pushed.Anyone know?
I need to setfocus of a control only when F1 is pushed so the control only has the focus long enough to show it's help context ID.
Printable View
Hi I need know the value of the F1 key so I can detect it's being pushed.Anyone know?
I need to setfocus of a control only when F1 is pushed so the control only has the focus long enough to show it's help context ID.
Use the Keydown event
I need to know it's value or keycode for the parameters of the keydown event. I tryed:
If key = F1 then ...blah-blah
blah-blah was triggered by any keypress!
Anyone?
KeyCode for F1 Key is vbKeyF1 if that's what you are asking.
HTH
------------------
Visual Basic Programmer
------------------
PolComSoft
You will hear a lot about it.
Thanks Qwerty
Joey O.