Remember that this will not work from the design-time. You'll have to write
code manually to set the Text property and you should use the "\r\n"
Carriage-return Line-feed combination such as:
MyTextBox.Text= "Hello\r\nWorld ";
--
Bob Powell [MVP]
Visual C#, System.Drawing
Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"Kerem Gümrükcü" <ka*******@hotm ail.com> wrote in message
news:eh******** ******@tk2msftn gp13.phx.gbl...
Hi,
i am about to burst!!! how can i make my string break inside a textbox?
i mean with a control charater like "\n", but it does not work!
i have a string and i must set the wrap manuall, not controled by the
wordwrap property of the textbox. as i alread said: "\n" does not work!
Language s C#
how can i solve this.
Best Regards
Kerem Gümrükcü