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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Still having Wordwrap problems

Status
Not open for further replies.

jonnyknowsbest

Technical User
Feb 3, 2004
163
0
0
GB
I am having major headaches trying to do program a textbox with specified multiline behaviour. i need it to do the following:

- Wrap text after 80 characters
- Wrap text dynamically as you type
- Allow for certain tags (eg. <B>) not to count towards the 80 character limit (so "<B>Hello<\B>" is the same number of characters as "Hello")

Any ideas?
 
Yes this is a real headache and must be tricky to create.

Anyway, the bast way it to create a class that inherits from the System.Windows.Forms.Testbox or RichTextBox and place the code there once.

:(
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top