General information
Category:
Menus & Menu designer
>
>How about using your form's Keypress Event to capture those codes and then do your thing?
Thanks, a good idea. I was able to trap the input and prevent the text from going into the textbox. However the keypress event traps only one key at a time and it is difficult to find a key to distuinguish between a scanned entry and a regular keyboard entry. Also, the CHR values have more than one representation (see the INKEY documentation). I think my best bet is to use a string identifier as my scanned 'code' and then to concatenate the string into a property character by character in the form's keypress event. When I have fully identified the scan code I can then take action. I'll try this. Thanks a lot.
Previous
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