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.
Imran Koradia - 19 Oct 2004 16:15 GMT
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.
scorpion53061 - 19 Oct 2004 16:22 GMT
RichTextBox1.Text = RichTextBox1.Text & vbCrLf & "Place your text here"
> 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.
BluDog - 19 Oct 2004 16:23 GMT
>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.