How to cause a line break in a textbox?

  • Thread starter Thread starter Kueishiong Tu
  • Start date Start date
K

Kueishiong Tu

I have a multiline textbox to display a char string.
How do I make the textbox break at a certain position
of the char string. I try putting '\n' in the char string,
but it doesn't work.
 
-----Original Message-----
I have a multiline textbox to display a char string.
How do I make the textbox break at a certain position
of the char string. I try putting '\n' in the char string,
but it doesn't work.
.
Try putting '\r\n' in the char string.It migth work.I
hope it can help you.Bye.
 
If you use the Environment.NewLine property, the platform handles the
details for you (it will currently use "\r\n").

Jon
 
Back
Top