How can i suppressed inputs?
how can we suppressed input in a textbox? in my previous work , i used this code to facilitate the suppression of the input in VB 6
KeyAscii = 0 , since the KeyAscii as an argument in Keypress Event is editable.
but in VB.net a member KeyCode in System.Windows.Forms.KeyEventArgs is read only ..... can anyone help me guys!
junmar
Answers (2)
0
wilkisi,
thanks a lot....
junmar
0
The keypress event allows you to set this
e.Handled = true
To stop the charcter being added to the textbox.
Cheers,
Si