RE:Probemas en cajas de tecto
Master te agrego el código que estoy utilizando para la caja de texto, ojala que te sirva
Protected Sub TXTNOMBRE_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TXTNOMBRE.TextChanged
If TXTNOMBRE.Text = "" Or TXTNOMBRE.Text = " " Or TXTNOMBRE.Text = " " Then
MsgBox("Error, debe ingresar el nombre del Proveedor.", MsgBoxStyle.Information, "Sistema")
TXTNOMBRE.Focus()
Else
If TXTNOMBRE.MaxLength > 60 Then
MsgBox("Esta caja soporta hasta un máximo de 60 caracteres.", MsgBoxStyle.Information, "Sistema")
TXTNOMBRE.Text = ""
TXTNOMBRE.Focus()
Exit Sub
Else
If TXTRUT.Enabled = False Then
TXTDIRECCION.Focus()
Exit Sub
Else
TXTRUT.Focus()
Exit Sub
End If
End If
End If
End Sub
al momento de escoger cualquier focus después de verificar que la caja TXTNOMBRE posee datos, se dirige en forma automática a CMDLIMPIAR, es decir Limpiar_datos(), he tratado de otras maneras solucionarlo pero me manda siempre el mismo error a limpiar las cajas de texto, ojala que me puedas ayudar desde ya muchas gracias.