by Chaitanya Dhareshwar (4 Submissions)
Category: String Manipulation
Compatability: Visual Basic 4.0 (32-bit)
Difficulty: Unknown Difficulty
Originally Published: Sat 29th November 2003
Date Added: Mon 8th February 2021
Rating:
(1 Votes)
Single line code that prevents a user from entering alphabetic characters in a numeric-only textbox.
API Declarations
'of the textbox. This may be KeyUp, KeyDown or KeyPress.
Text1.text = Val(Text1.text)
No comments have been posted about Single line code that prevents a user from entering alphabetic characters in a numeric-only textbox. Why not be the first to post a comment about Single line code that prevents a user from entering alphabetic characters in a numeric-only textbox.