textbox in .net form question

  • Thread starter Thread starter peter
  • Start date Start date
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
 
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
 
Back
Top