Friday, May 30, 2014

How to delete a line from a textbox?

Here's another option:



Sub RemoveLine(index As Integer, textbox As TextBox)
textbox.Lines = textbox.Lines.Take(index).Concat(textbox.Lines.Skip(index + 1)).ToArray
End Sub





Reed Kimble - "When you do things right, people won't be sure you've done anything at all"


No comments:

Post a Comment