trichview.com

trichview.support




Re: Making items non-selectable


Return to index


Author

Message

Sergey Tkachenko

Posted: 08/17/2004 22:47:57


1) You can use LabelItem (non-text items that look like text but cannot be

selected partially or modified)

See

Demos\Addins\LabelItem\


2) You can use text protection - see TFontInfo.Protection property

Protected text can be selected partially, but you can prevent its

modification.


>

> Hi,

>

> I've got a project where i'm using a TRichViewEdit as an html editor

basically,

> and I also have some custom tags that are added to the text for various

functions.

>   I'm trying to figure out how I can make the custom tags non-selectable

> in the richview, so the user cannot change the style or delete these tags

> or part of these tags.  Can I do that on an item by item basis?





Powered by ABC Amber Outlook Express Converter