- Code: Select all
Private Sub Text1_KeyPress(Index As Integer, KeyAscii As Integer)
If KeyAscii > Asc("9") Then
KeyAscii = 0
End If
End Sub
![]() | It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!) |

|
|
|
|
Moderator: dafunkymunky
Private Sub Text1_KeyPress(Index As Integer, KeyAscii As Integer)
If KeyAscii > Asc("9") Then
KeyAscii = 0
End If
End Sub
Users browsing this forum: No registered users and 0 guests