I am pasting text from another TRichViewEdit or TRichView but when I paste it into my TRichViewEdit it is not editable.
Ideas? Is there a way that the text could be locked?
Locked text
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Locked text
Text cannot be edited if:
- TRichViewEdit.ReadOnly = True
- this is not a text but label item
- style of this text has protection options (especially rvprModifyProtect and rvprDeleteProtect)
- style of paragraph of this text has protection options
- if this text is in a table, a table can be protected from editing (rvtoEditing is excluded from table.Options)
- TRichViewEdit.ReadOnly = True
- this is not a text but label item
- style of this text has protection options (especially rvprModifyProtect and rvprDeleteProtect)
- style of paragraph of this text has protection options
- if this text is in a table, a table can be protected from editing (rvtoEditing is excluded from table.Options)
Re: Locked text
Thanks Sergey,
That helps. So basically if the text is protected.
I need to remove protection from one or all of the following areas.
1. Style of Text
2. Style of paragraph
3. Style of Table
That helps. So basically if the text is protected.
I need to remove protection from one or all of the following areas.
1. Style of Text
2. Style of paragraph
3. Style of Table