General information
Category:
Forms & Form designer
Title:
Want to lock keyboard
Environment versions
Network:
Windows 2008 Server
Hi to all
I want to lock the key board on a form and use the barcode scanner for input i write the key press procedure
DO case
CASE nkeycode=27
thisform.release()
CASE nkeycode=5
MESSAGEBOX("Key boardnot allowed",16,"Validation Error")
thisform.text1.Value=""
thisform.Refresh()
RETURN
CASE nkeycode equal to greater than 48 AND nkeycode equal to lesser than 123
MESSAGEBOX("Key boardnot allowed",16,"Validation Error")
thisform.text1.Value=""
thisform.Refresh()
RETURN
ENDCASE
these command also lock the bar code scanner
any suggestion form you.
thanks
Rashid Mehmood
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only