sign in | join about | help | sitemap
Connecting Tech Pros Worldwide
AlexBur's Avatar

Wordwrap in TextBox


Question posted by: AlexBur (Newbie) on August 3rd, 2008 12:54 PM
Hi everybody.

I learn C# several month only and sometimes have problems with it. I hope somebody will help me. When wordwrap is active and i add text to the TextBox i have strange result, some words are cut. All i want is correct word division like in mobile word. Is it possible to realise words division without using own functions.

Thanks.
4 Answers Posted
markmcgookin's Avatar
markmcgookin August 3rd, 2008 01:29 PM
Moderator - 476 Posts
#2: Re: Wordwrap in TextBox

Is multiline set to "true" on the textbox?
AlexBur's Avatar
AlexBur August 4th, 2008 02:58 AM
Newbie - 3 Posts
#3: Re: Wordwrap in TextBox

Yes, of course, multiline set to "true"
bellam31's Avatar
bellam31 August 22nd, 2008 03:07 AM
Newbie - 4 Posts
#4: Re: Wordwrap in TextBox

Im new to C# too and havn't tried this out but I read somewhere you can just write:

textBox1.WordWrap = true;
bellam31's Avatar
bellam31 August 22nd, 2008 03:11 AM
Newbie - 4 Posts
#5: Re: Wordwrap in TextBox

Sorry, I miss read your question. Thought you were asking how to wraptext
Reply
Not the answer you were looking for? Post your question . . .
197,027 members ready to help you find a solution.
Join Bytes.com

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 197,027 network members.
Post your question now . . .
It's fast and it's free

Popular Articles

Top Mobile Development Contributors