Results 1 to 10 of 10

Thread: ignore an invalid character in a text box [RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2003
    Location
    Connecticut
    Posts
    257

    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
  •  



Click Here to Expand Forum to Full Width