trichview.com

trichview.support




Style Protection Problem


Return to index


Author

Message

Jonathan Allen

Posted: 12/06/2004 20:07:01


I have created a textstyle and assigned its protection as:


Protection = [rvprStyleProtect, rvprModifyProtect, rvprConcateProtect, rvprDoNotAutoSwitch].


The problem is that when I reload this file from a filesystem into a TRichView

component, I am  able to modify the text maked with this style, i.e. delete

characters etc. (The tags are displayed as ":TAG_NAME:") This is bad as the

text I mark is used a a special tag in my application, that I eventually

parse and replace with application specific information. However, when I

first insert the "special tag" I am not able to modify the text as I expect!


I think this problem has something to do with TRichView loading options but,

I have so far been unsuccessfull in locating the propert options. Can you

please help?


Thanks in advance.





Powered by ABC Amber Outlook Express Converter