textbox in .net form question

P

peter

In a standard textbox control in a windows .net forms app, is there a
way to supress the full duplex behavior and output myself? That is, if
the user presses A, I want to show 1. If the user presses B, I want to
show 10, if the user presses C, I want to show 107. (or something like
that)

Thanks

Peter Kellner
http://peterkellner.net
 
C

Chris

In a standard textbox control in a windows .net forms app, is there a
way to supress the full duplex behavior and output myself? That is, if
the user presses A, I want to show 1. If the user presses B, I want to
show 10, if the user presses C, I want to show 107. (or something like
that)

Thanks

Peter Kellner
http://peterkellner.net

handle the keypress event. Then if you don't want the keyboard input to
go through, mark e.handled = true.

Chris
 

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

Top