|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
I am in the process of designing a scouting program.
I have the following code: Private Sub teamnum_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles teamnum.KeyPress Dim allowedChars As String = "0123456789" If allowedChars.IndexOf(e.KeyChar) = -1 Then ' Invalid Character e.Handled = True End If End Sub But I would like to add the function of a backspace key. ![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Visual Basic | basicxman | IT / Communications | 11 | 13-11-2007 23:43 |
| Visual basic Help plz | Jevin H | IT / Communications | 4 | 30-03-2007 18:57 |
| Visual Basic help needed. | Cody Carey | Programming | 1 | 25-02-2007 15:06 |
| Visual Basic | dddriveman | Programming | 12 | 20-03-2004 13:03 |
| Help programming in Visual Basic | xxlshortys | Programming | 0 | 06-04-2003 08:54 |