Ver Mensaje Individual
  #6 (permalink)  
Antiguo 16/05/2011, 09:28
Avatar de lokoman
lokoman
 
Fecha de Ingreso: septiembre-2009
Mensajes: 502
Antigüedad: 14 años, 7 meses
Puntos: 47
Respuesta: Limpiar Textbox evento change

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