btisdabomb
Member
- Joined
- Jul 12, 2006
- Messages
- 16
- Programming Experience
- Beginner
Is it possible to now allow certain characters to be entered into a textbox while the user is typing them in?
Private Sub TextBox1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) _
Handles TextBox1.KeyDown
Select Case e.KeyCode
Case Keys.A, Keys.B, Keys.C
e.SuppressKeyPress = True
End Select
End Sub