Saving Rich Text Box Control as PLAIN TEXT!!!! 
Author Message
 Saving Rich Text Box Control as PLAIN TEXT!!!!

Hi, I want to create an editor that will display color text.  I assume that
I would use the Rich Text Box control.  Unfortunately I want to save the
file as PLAIN TEXT.

Does anyone know how to do this?



Mon, 09 Oct 2000 03:00:00 GMT  
 Saving Rich Text Box Control as PLAIN TEXT!!!!

Quote:
>Hi, I want to create an editor that will display color text.  I assume that
>I would use the Rich Text Box control.  Unfortunately I want to save the
>file as PLAIN TEXT.

>Does anyone know how to do this?

The RTF control has both a TextRTF property and a Text property. Just
write the contents of the .text property out to a file.

-- Jim Ferguson, FMS
   http://www.fmsinc.com



Mon, 09 Oct 2000 03:00:00 GMT  
 Saving Rich Text Box Control as PLAIN TEXT!!!!

look into the methods of the RTF controls.  The save and load allow you to
use  1 or 0, depending on whether it's RT or plain.

Quote:

>Hi, I want to create an editor that will display color text.  I assume that
>I would use the Rich Text Box control.  Unfortunately I want to save the
>file as PLAIN TEXT.

>Does anyone know how to do this?



Mon, 09 Oct 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. saving rich text box as plain text

2. Rich Text Box or text box control

3. Creating e-mail is always Rich Text NOT Plain Text

4. Mapping plain text to rich text?

5. opening / saving files with MS rich text box control (viewing open files)

6. Formatting Lines of Text in a Rich Text Box Control

7. Rich Text Box: Can I remove text and keep multicolored text

8. Colour Text Box/Class Wrapper for Rich Text Box

9. Newbie question: Rich Text Box vs. Text Box

10. help: formatting rich text box/text box

11. Rich Text Box vs. Text Box Scrolling

12. Looking for APIs for text box and Rich text box

 

 
Powered by phpBB® Forum Software