Restricting Textbox to get numbers only as their input.
Restricting Textbox to get numbers only as their input.
API Declarations
'Create one Textbox and type the following code in the Keypress event of the 'Textbox.
'Send your feedback, suggestions and doubts to [email protected]
Rate Restricting Textbox to get numbers only as their input.
(1(1 Vote))
If Not ((KeyAscii>=Asc("0") And KeyAscii<=Asc("9") Or KeyAscii=8) Then
KeyAscii=0
End If
End Sub
Restricting Textbox to get numbers only as their input. Comments
No comments yet — be the first to post one!
Post a Comment