VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Stop Typeing in Textboxes but dont diasble them

by Andrew Timberlake (1 Submission)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Date Added: Wed 3rd February 2021
Rating: (38 Votes)

This Code stops the End-user typing o#into a textbox but still allows them
to scroll it because it is not disabled

API Declarations

Rate Stop Typeing in Textboxes but dont diasble them

in textbox_keypress
keyascii = 0
in textbox_keydown and textbox_keyup
keycode = 0
Its as simple as that.

Download this snippet    Add to My Saved Code

Stop Typeing in Textboxes but dont diasble them Comments

No comments have been posted about Stop Typeing in Textboxes but dont diasble them. Why not be the first to post a comment about Stop Typeing in Textboxes but dont diasble them.

Post your comment

Subject:
Message:
0/1000 characters