|
-
Nov 23rd, 2003, 06:09 PM
#1
Thread Starter
Hyperactive Member
ignore an invalid character in a text box [RESOLVED]
I am trying to prevent users from entering a character into a text box. I remember doing something like this in a beginning VB .net class a while ago and it was only one line of code in the textchanged (?) event of the textbox. From what I remember, it was a simple command to ignore the key that was pressed if it did not fit a certain criteria. Does anyone know a simple way to do this.
Last edited by JMM427; Nov 24th, 2003 at 10:53 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|