Codigo de error cuando se viola las condiciones de la mascara
Visual Basic 17 julio 2007
Sub mskID_ValidationError (InvalidText As String, StartPosition As Integer)
‘Check for too many digits error. o/w user is trying to enter non-numeric.
If StartPosition = mskID.MaxLength Then
lblError.Caption = “Limit 6 digits”
Else
lblError.Caption = “Digits only”
End If
End Sub
Vota este artículo:
Posts anterior y posterior:
Posts Relacionados:
- Previo: « Limitar la entrada de valores a números.
- Siguiente: RunTime Error Handler »


Comentarios Recientes