ciao,Originariamente inviato da tas
Controlla i caratteri che arrivano agli eventi KeyPress, KeyDown e KeyUp. Quelli che non ti interessano li puoi annullare cancellando il carattere che ti arriva come parametro dall'evento. Ciao
sono riuscito a trovare questo
Private Sub Text2_KeyPress(KeyAscii As Integer)
If KeyAscii <> 8 And (KeyAscii < 48 Or KeyAscii > 57) Then KeyAscii = 0
End Sub
e per i numeri come li disabilito?![]()

Rispondi quotando