G
Guest
I am trying to edit a value the user is placing in a text box on the form.
The value needs to be unbound, numeric, 1 character long between 0 and 5
inclusive. When I use the KeyDown event, I can edit if the user presses the
number above the letters, but if the user presses from the numeric keypad, it
doesn't work. Those values are interpreted as if they are alpha characters.
I've tried the lost focus event, but that never fires.
Any suggestions.
Thanks
The value needs to be unbound, numeric, 1 character long between 0 and 5
inclusive. When I use the KeyDown event, I can edit if the user presses the
number above the letters, but if the user presses from the numeric keypad, it
doesn't work. Those values are interpreted as if they are alpha characters.
I've tried the lost focus event, but that never fires.
Any suggestions.
Thanks