Hi,
Set the forms keypreview to true.
http://msdn.microsoft.com/library/de...ogkeytopic.asp
Protected Overrides Function ProcessDialogKey(ByVal keyData As
System.Windows.Forms.Keys) As Boolean
Select Case keyData
Case Keys.F1, Keys.F2, Keys.F3, Keys.F4 'etc
Return True
Case Else
Return MyBase.ProcessDialogKey(keyData)
End Select
End Function
Ken
------------------
"Stephen" <St******@xjohnstontrading.com> wrote in message
news:uJ**************@TK2MSFTNGP09.phx.gbl...
Greetings All..
My boss want me to add code in a form that disables most, if not all
function keys on the keyboard.... Im at a lose on how to do it....
any help is appreciated
s