Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word-wrapping within a RichTextBox

Status
Not open for further replies.

dqrose

Technical User
Mar 17, 2006
24
GB
I have a RichTextBox into which I want to load a rich text document. When I do this, the document in question (which has no carriage returns in it) doesn't automatically word-wrap within the box, but runs off the end of the top line. I want it to wrap within the box, but I can't find the property that controls this. I know it can be done because I've done it before, but I can't find the code. Can anybody tell me which property I need to set please?

Many thanks.
 
Could you possible use a picture (that would have the same color as the RichTextBox - making it invisible per say) that would visually have the desired effect?

Just a thought
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top