trichview.com

trichview.support




Re: About  Tags


Return to index


Author

Message

Sergey Tkachenko

Posted: 10/01/2003 22:17:11


Tags can be applied only to the whole items.

If the word is a part of a larger item, this is a problem: TRichViewEdit

does not have methods for separating the item into several items.

You can do it by a small trick:

- store in a variable a text style of the item containing the word;

- apply a text style to this word (this text style must be different from

the text style of the adjacent text); this word becomes a separate item;

- call SetItemTagEd for this item;

- apply a text style stored on the first step to this word.


>

> Hello Sergey:

>

> One question:

>

> Is it possible to apply a tag on a word inside an already loaded and

formatted

> text?

>

> Thanks

> Fernando Alonso





Powered by ABC Amber Outlook Express Converter