G
Guest
H
In VB6 I used to trap by keycode on the keydown event and if the keystroke didn't fit into my criteria I would set the value of the keycode to 0 which would invalidate the keystroke. I noticed that the properties are readonly in .Net. How would I do the same as I used to in 6? I am doing the time honoured only allowing of numbers in a text box and don't seem to be getting right.
Thank you.
In VB6 I used to trap by keycode on the keydown event and if the keystroke didn't fit into my criteria I would set the value of the keycode to 0 which would invalidate the keystroke. I noticed that the properties are readonly in .Net. How would I do the same as I used to in 6? I am doing the time honoured only allowing of numbers in a text box and don't seem to be getting right.
Thank you.