R
Robert
I am trying to stop users from typing in non-numeric characters into the
NumericUpDown control in both above mentioned events, for example"
Private Sub updQt_TextChanged(ByVal sender As Object, ByVal e As
System.EventArgs) Handles updQt.TextChanged
if Not IsNumeric (updQt.Text) then updQt.Text = ""
End Sub
But when I used the on-screen keyboard typing in letters the event did not
never fire at all. The same happened in the KeyPress event.
Any ideas or better way to accomplish that?
NumericUpDown control in both above mentioned events, for example"
Private Sub updQt_TextChanged(ByVal sender As Object, ByVal e As
System.EventArgs) Handles updQt.TextChanged
if Not IsNumeric (updQt.Text) then updQt.Text = ""
End Sub
But when I used the on-screen keyboard typing in letters the event did not
never fire at all. The same happened in the KeyPress event.
Any ideas or better way to accomplish that?