I wish to protect areas of text. The idea is to create a template with SRV Controls on it including Memo etc. I want to protect most things except for the Controls. Is this possible ?
Thank you
Pretecting areas.
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
You can protect the whole document by assigning editor.ReadOnly := True.
Also, you can protect paragraphs, see Options property of a paragraph style: http://www.trichview.com/help/idh_tcust ... tions.html
However, protected paragraphs can be deleted as a whole (unless they have undeletable items)
You can protect a text item, see Protection property of a text style: http://www.trichview.com/help/idh_tcust ... ction.html
You can protect a non-text item from deletion, see rvepDeleteProtect property: http://www.trichview.com/help/idh_type_ ... perty.html
Also, you can protect paragraphs, see Options property of a paragraph style: http://www.trichview.com/help/idh_tcust ... tions.html
However, protected paragraphs can be deleted as a whole (unless they have undeletable items)
You can protect a text item, see Protection property of a text style: http://www.trichview.com/help/idh_tcust ... ction.html
You can protect a non-text item from deletion, see rvepDeleteProtect property: http://www.trichview.com/help/idh_type_ ... perty.html
Iterating through SRV controls
Could you give me a short example of how to iterate all the SRV controls on a Doc.
My idea is to make the Document itself read only, but allow the user to interact using SRV controls.
To do this I need to iterate through all the controls setting them read only.
ALso I will want to bind some of the SRV controls to DB field content.
A short example how to iterate through the SRV controls would be very helpful.
Thank you.
My idea is to make the Document itself read only, but allow the user to interact using SRV controls.
To do this I need to iterate through all the controls setting them read only.
ALso I will want to bind some of the SRV controls to DB field content.
A short example how to iterate through the SRV controls would be very helpful.
Thank you.