user983924
user983924

Reputation: 393

automatically new line in .net textbox

I use managed c++ on .net framework. I want to add a text box and I request a sentence from the user. The text box shows the sentence. If the sentence is too long, it must pass the new line automatically. How can I do this?

Thanks

Upvotes: 0

Views: 288

Answers (1)

ChrisWue
ChrisWue

Reputation: 19070

If you mean that the text inside the textbox should wrap around then set the WordWrap property of the TextBox to true.

Upvotes: 1

Related Questions