Hola que tal todos! quiero borrar una línea del textbox, las líneas las calculo así:
NumLineas = Textbox.Lines.Lenght
Entonces digamos que quiero encontrar la línea 7 que dice
"Hola" y me la borre o la reemplace por un NULL, he tratado así:
Código PHP:
for i=0 to NumLineas
if textbox.lines(i) = "Hola" then
Textbox.Text.Remove(i)
End If
Next
También he probado con:
Código PHP:
for i=0 to NumLineas
if textbox.lines(i) = "Hola" then
ancho = Len(textbox.Lines(i))
textbox.Lines(i).Remove(0, ancho)
End If
Next
Ninguna de las dos formas lo hace, será que estoy equivocado en algo? si me pueden dar una mano les agradeceré muchísimo. Gracias!