VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



This piece of code will keep the user from entering text into a text box without having to set the

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.

Rate This piece of code will keep the user from entering text into a text box without having to set the



    KeyCode = 0
End Sub

Private Sub YOUR-TEXTBOX_KeyPress(KeyAscii As Integer)
    KeyAscii = 0
End Sub

Download this snippet    Add to My Saved Code

This piece of code will keep the user from entering text into a text box without having to set the Comments

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 .

Post your comment

Subject:
Message:
0/1000 characters