Hello windy,
I found that the keypress event doesn't invoked when i press the "." button on alphabetic keyboard, however if i use numberpad's "." button keypress event is invoked.
I just tried to test this. I threw a TextBox on a form and added a
KeyPress event handler with this line of code:
Debug.WriteLine("Key pressed: " + e.KeyChar);
Not surprisingly, I get an output line every time I hit a key in the
TextBox, including all the "." keys I have on my keyboard. There must be
some detail about what you're doing that you haven't mentioned so far...
Oliver Sturm
--
http://www.sturmnet.org/blog