Enter Text To MultiLine TextBox

  • Thread starter Thread starter shachar
  • Start date Start date
S

shachar

hi all.
i have a simple TextBox, Set MultiLine=True.
how can i add a new line of text under the last line, so
it would be a new line?
thanks.
 
textbox1.text = textbox1.text & vbCrLf & "this text on a new line"

Or

textbox1.AppendText(vbCrLf & "this text on a new line")

hope that helps..
Imran.
 
hi all.
i have a simple TextBox, Set MultiLine=True.
how can i add a new line of text under the last line, so
it would be a new line?
thanks.

TextBox1.Text &= vbCrLf & "New Line"

Hope this helps.

Blu.
 
Back
Top