trichview.support
Re: a simple question |
Author |
Message |
Sergey Tkachenko |
Posted: 12/10/2003 20:51:31 > Hi, > Is it possible to set a break(horizontal line) as such that it cannot be > deleted? Not of course, in the read only mode. rv.SetItemExtraIntProperty(ItemNo, rvepDeleteProtect, 1); > > Similarly, if it is possible to set as such that a certain paragraph cannot > be deleted. If you include rvpaoReadOnly in Options of paragraph style, this paragraph cannot be edited. But it can be deleted as a part of larger selection. If paragraph is read-only and contains at least one undeletable item, it cannot be modified and deleted. You can make any non-text item undeletable as it was shown above (by assigning non-zero value to rvepDeleteProtect property). You can make a text item undeletable by including rvprDeleteProtect in the Protection property of the text style of this item (there are some other protection options for text, see TFontInfo.Protection in the help file) |
Powered by ABC Amber Outlook Express Converter