Hi all,
I was looking for a textbox that can hold alphanumerics only and one can also use windows shortcuts such as control+v Control+c Control+a within that textbox.
I tried this in my keypress event for the text box and it works, but i would like for it to also allow the other windows shortcut functions
6 Code:
if (!(Char.IsLetterOrDigit(e.KeyChar) == true || (e.KeyChar) == 8)) { e.Handled = true; }
Take care
P.s. I would like to not use the masked text box.




Reply With Quote