Click here to Skip to main content
15,887,302 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to use a long text in my project but i do not know what is the best tool in visual studio toolbox, i used a label but it does not work good because my text is long, what can i do?
Posted

Use a TextBox...

You can add scrollbars (vertical and/or horizontal) and/or enable wrapping. If you want it to be readonly, you can do that too. You could also use a RichTextBox, but a TextBox is probably your best choice unless you have the need for more advanced features.
 
Share this answer
 
Rich Text Box is the best option in my opinion.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900