Hello ad,
I'm not really sure what you're asking but I think you might be trying to
add more than one line of text to the multiline textbox. You can do that
using one of the following techniques:
1) Add the lines to the text already in the box:
TextBox1.Text = "The first bit of text. ";
TextBox1.Text += "Another bit or text. ";
TextBox1.Text += "Still more.";
2) If you're adding alot of text often, you might want to use the
StringBuilder class. Add the text to a StringBuilder object and then assign
that text to the TextBox.Text property.
If you're asking how to add new rows of text, then you'll want to look at
the \n newline escape character.
--
enjoy - brians
http://www.limbertech.com
"ad" wrote:
I have set a TextBox to MultiLines and set the rows to 10.
I assigned the Text of the TextBox some lins of text at desgin time,
but only the first line remain in the TextBox.
How can I assign some lines of text at desgin time?