TRichViewEdit, save it in RTF Format

General TRichView support forum. Please post your questions here
Post Reply
charles.lambert
Posts: 26
Joined: Mon Jul 05, 2010 7:44 pm

TRichViewEdit, save it in RTF Format

Post 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
Post Reply