I'm creating a little application to create some reports. I've added a SRichView at design time and I allow the user to add some components like radiobuttons, checkbox, ... into the SRichView. This way he can create some reports.
What I want to do is to save the report he created in the RVF format and then set every component and text to read-only, so that no one can change the content of the report...
I'm able to protect a paragraph from modification using this:
Code: Select all
ARichEdit.Style.TextStyles.Items[ARichEdit.CurTextStyleNo].Protection := [rvprModifyProtect];
Hope you can help me
- Charles