martes, 9 de enero de 2018

Bloquear un caracter TextBox

Private Sub tbtexto_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles tbtexto.KeyPress
        If e.KeyChar = ";" Then
            e.Handled = True
        End If
    End Sub

No hay comentarios.:

Publicar un comentario