How to Disallow numeric input in Text box
Posted on January 5, 2009
1 2 3 4 5 6 | 'Controls - How to Disallow numeric input in Text box Private Sub Text1_KeyPress(KeyAscii As Integer) If IsNumeric( chr ( KeyAscii)) Then KeyAscii = 0 End If End Sub |
Related posts:
- How to allow only number and only one occurence of decimal character in text box
- How to select all text with Ctrl+A in a text box
- How to control what type of alphanumeric character is entered into a text box at a particular postion in the text box.
- How to ignore Ctrl+V and Shift+Insert key in a text box.
- How to allow only number in a text box
- How to enter text in MSFlex Grid control without using text box.
- How to Prevent the user from entering invalid keys in a text box.
- How to use the Enter key act like TAB key while handling text boxes
- How to check whether given string is numeric or not without using IsNumeric function.
- How to disable beep when user presses the Enter key in TextBox