FRIHOSTFORUMSSEARCHFAQTOSBLOGSCOMPETITIONS
You are invited to Log in or Register a free Frihost Account!


.NET Development - Windows Form





shenyl
I need to create a Custom TextBox for output of text.
As such, I created one with TextBox, MultiLine, Read Only and added a property to append text into the TextBox.Text.

I then run into the issue of NewLines.

After consultation with text book, I added the \n, but it does not work.
Then I added the \n\r, and still does not work.

Finally, I googled and discover that \r\n should be use.

That means the order is important. \r\n - OK, not \n\r.

This I hope will be of help to anyone seeking to embed newline
in a multiline TextBox.

Comments welcome on C# and .NET development.
Related topics
New Version .NET Framework SDK for Windows Phone 8
Linux and windows
Linux vs. Windows (for businesses)
OMG! vb.net without connection to server option?
Perceptionsystem Outsourcing - Web Development & Web Des
Visual Basic RUles
Visual Basic Build Problem
PLAVEB - Website Design & Web Development Company
Windows Phone superará a Apple en 2015 según un estudio
Weblineindia Software Development & Web Designing Compan
Help Apache problems
apache problem, NEED HELP
Easily create forms and many other stuff without much knowle
Windows Skins
Reply to topic    Frihost Forum Index -> Computers -> Software

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.