By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,187 Members | 1,038 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,187 IT Pros & Developers. It's quick & easy.

How to remove richtext format?

P: n/a
Du
I like richtext textbox and its shortcut, but I don't need the richtext
format. How do I tell the richtext text box to strips all the format and
convert everything to plain text?

Thanks
Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi Du,

Use the RichTextBox's Text property to get the pure text. Putting this
text into the Rtf property should cancel any formatting still there.

--
Happy Coding!
Morten Wennevik [C# MVP]
Nov 16 '05 #2

P: n/a
Du
Thanks Morten!!
"Morten Wennevik" <Mo************@hotmail.com> wrote in message
news:opskw5kwvoklbvpo@pbn_computer...
Hi Du,

Use the RichTextBox's Text property to get the pure text. Putting this
text into the Rtf property should cancel any formatting still there.

--
Happy Coding!
Morten Wennevik [C# MVP]

Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.