Ver Mensaje Individual
  #7 (permalink)  
Antiguo 16/05/2011, 09:49
t0n1
 
Fecha de Ingreso: noviembre-2010
Mensajes: 175
Antigüedad: 13 años, 5 meses
Puntos: 1
Respuesta: Limpiar Textbox evento change

Cita:
Iniciado por lokoman Ver Mensaje
Hola!!
Yo limpio los Textboxes pasando EMPTY en vez de " ". Asi: txtDatos.Text=Empty

Intenta tu CODE asi:

Código vb:
Ver original
  1. Private Sub cmd_Click()
  2.     txt.Text = Empty
  3. End Sub
  4.  
  5. Private Sub txt_Change()
  6.     If txt.Text = Empty Then Exit Sub
  7.     txt2.Text = txt.Text * 5
  8. End Sub
Uy que fácil era!!! Gracias!!