Textbox's KeyUp Event

  • Thread starter Thread starter Johnny E. Jensen
  • Start date Start date
J

Johnny E. Jensen

Hello

I have a textbox where i check for a "return" or "enter" keystroke for that
i use the txtBox KeyUp and checks the e.KeyCode value.

But when i do stroke the return or enter kay, a sound (ping) sounded. How
can i prevent that ping?

Kind regards
Johnny Jensen
 
Well, in KeyPress/OnKeyPress you can set args.Handled = true, which
does the job, so I guess you could try this with KeyUp/OnKeyUp to see
if it works there too.

Marc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top