Hi all
Here is how I handle numbers only input for a text field.
Sub txtField_TextChanged (Old As String, New As String)
Dim update As Boolean
Try
Dim text As String = Regex.Replace("\D",New,"")
If New <> text Then
update = True
End If...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.