
How do you trap for F1 key
I wrote a custom help for my application and can invoke it using a menu. I
would also like to invoke the help program using the customary F1 key.
I placed the following code on the form's keypress but nothing happens.
If KeyAscii = vbKeyF1 Then
mnuHelp_Click()
End If
I even tried this too but there is no response. What am I doing wrong? and
where do I put the code?
If KeyAscii = 112 Then
mnuHelp_Click()
End If
Maurice I. Muoneke