Functionkey F1

sven2

Registered User.
Local time
Today, 21:39
Joined
Apr 28, 2007
Messages
297
Hello,

is there an easy way to disable the F1 key so there is no possibility to enter the helpfile?

Thanks in advance,
Sven.
 
In the key down event of the form paste the following code


Select Case KeyCode

Case vbKeyF1
KeyCode = 0

End Select



and set the key preview property of form to yes
 

Users who are viewing this thread

Back
Top Bottom