General information
Category:
Forms & Form designer
Title:
Can I set inkey speed on a form OR determine input speed?
I have a FoxDos routine for a login that determines if the user is using a scanner by doing a read timeout with inkey(.1). The inkey speed is so fast that only if the scanner is used can the data actually be read. If the user tries to type an ID the form releases because the speed is too slow. This was designed as a security feature so only scanned badges could be used to identify the user to the Foxpro system.
I need to do a matching routine in VFP7. Is there a way to set the input speed on a form OR to test the speed that the data in a text box was entered at? I don't think I can detect the input device because this scanner Y's into the keyboard cable and the PC gets both scanned and typed data through the keyboard port.
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