by Shane Oborn (1 Submission)
Category: Miscellaneous
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Fri 5th November 1999
Date Added: Mon 8th February 2021
Rating: (1 Votes)
This piece of code will keep the user from entering text into a text box without having to set the 'enabled' property to false.
KeyCode = 0
End Sub
Private Sub YOUR-TEXTBOX_KeyPress(KeyAscii As Integer)
KeyAscii = 0
End Sub
No comments have been posted about This piece of code will keep the user from entering text into a text box without having to set the . Why not be the first to post a comment about This piece of code will keep the user from entering text into a text box without having to set the .