Hello.
I have a task - load in richview document data from different sources, some data must be editable, other - readonly(but with possibility to delete them).
I load readonly data in temp richview document and make ApplyParaStyleConversion with options TRVProtectOptions() << rvprModifyProtect << rvprParaStartProtect.
But I have problems with tables: I can delete text in them by selecting some cells and pressing Delete key. And I can add strings and columns to table.
Protect part of RichView document
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
These options to not block table operations.
However, I think it's a good idea to block row addition on TAB in the last row, if the table is inserted in readonly paragraph.
Also, I'll disable RichViewActions making table operations in this case.
(blocking table operations at all would affect existing projects)
These options do not prevent table content from deletion. You can try using OnEditCell event.
However, I think it's a good idea to block row addition on TAB in the last row, if the table is inserted in readonly paragraph.
Also, I'll disable RichViewActions making table operations in this case.
(blocking table operations at all would affect existing projects)
These options do not prevent table content from deletion. You can try using OnEditCell event.