Sub Text1_KeyPress (KeyAscii As Integer)
If KeyAscii = 8 Then ‘Permito BACKSPACE
Exit Sub
End If
‘Solo los numeros son permitidos.
If Chr(KeyAscii) < "0" Or Chr(KeyAscii) > “9″ Then
KeyAscii = 0 ‘Set character to null if out of range
Beep
End If
End Sub


Vota este artículo:
1 Estrella2 Estrellas3 Estrellas4 Estrellas5 Estrellas (No Ratings Yet)
Loading ... Loading ...

Posts anterior y posterior:


Posts Relacionados: