M Michael Turner Aug 6, 2004 #1 What is the easiest way to check if the key pressed in a textbox is numeric.
S Shiva Aug 6, 2004 #2 Hi, In the KeyPress event of the TextBox, do: IsNumeric(e.KeyChar) What is the easiest way to check if the key pressed in a textbox is numeric.
Hi, In the KeyPress event of the TextBox, do: IsNumeric(e.KeyChar) What is the easiest way to check if the key pressed in a textbox is numeric.
S Shiva Aug 6, 2004 #4 Sure. In the KeyDown event, have IsNumeric(Chr(e.KeyValue)) I need to have this done on the keydown event any ideas?
Sure. In the KeyDown event, have IsNumeric(Chr(e.KeyValue)) I need to have this done on the keydown event any ideas?