by Suman Bhattacharjee (1 Submission)
Category: String Manipulation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 8th June 2009
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Numeric only textbox in one line of code in which backspace and delete key works. Textbox will accept only numbers.
API Declarations
'numeric textbox only in one line of code with backspace key works!
If Not KeyAscii = vbKeyBack And Not IsNumeric(Chr(KeyAscii)) Then _
KeyAscii = 0
End Sub
No comments have been posted about Numeric only textbox in one line of code in which backspace and delete key works. Textbox will acce. Why not be the first to post a comment about Numeric only textbox in one line of code in which backspace and delete key works. Textbox will acce.