Ver Mensaje Individual
  #1 (permalink)  
Antiguo 02/08/2008, 08:19
Avatar de Marea2
Marea2
 
Fecha de Ingreso: febrero-2008
Mensajes: 71
Antigüedad: 17 años, 2 meses
Puntos: 0
Eliminar textbox en tiempo de ejecución

Hola a todos tengo Visual basic 6 y me gustaria eliminar un textbox en tiempo de ejecución:

Para crearlo lo hago así:

Set txt1 = Form1.Controls.Add("VB.textbox", Text1.Text)
With txt1
.Visible = True
.Width = 10000
.Height = 2000
.Top = 8500
.Text = ""
.Enabled = False

End With

Pero yo quiero borrarlo

Muchas gracias