Capture Keystroke in a text box
When using an Edit box is it possible to capture the key stroke. As an example I may want to evaluate the entry in different ways. Perhaps I want to restrict the entries to a numeric value, or convert entries to uppercase ro a number of other function.
What I am looking for is a similar function to the KeyPress event available in Visual Basic. This will allow you to evaluate the ascii value of the key and modify it if you like.
Thanks for your help.
Larry Asher
__________________
Larry Asher
|