Page 1 of 1

TRichViewEdit, save it in RTF Format

Posted: Tue Jul 06, 2010 1:32 pm
by charles.lambert
Hi,

I have a problem concerning the RTF format.

I am developping in Delphi 2009, I want to save the content of my TRichViewEdit in a RTF format while keeping the Protection Property I applied to my text.

This is how I add the protection property to my text

Code: Select all

ARichEdit.Style.TextStyles.Items[ARichEdit.CurTextStyleNo].Protection := [rvprModifyProtect];

ARichEdit.InsertText(String(mMeo));
The Protection Property I'm applying to my text works fine, but when I save it to the RTF Format, the Protection disappears...

Is there any option I have to include when I save my text or anything else?

Thanks

-Charles