trichview.com

trichview.support




Re: Trouble setting tags


Return to index


Author

Message

Sergey Tkachenko

Posted: 08/14/2004 13:02:47


Hi,


SetCurrentTag/GetCurrentTag sets/gets tag for item at the caret position,

not for selected items.

If caret is between items, they work with item to the left.

So, if some item is selected from right to left, SetCurrentTag/GetCurrentTag

work not with the selected but with the previous item.

Also, make sure that rvoClearTagsOnStyleApp option is NOT included in

EditorOptions.


See the demo showing how to work with tags of selected items in

Demos\Delphi\Assorted\Hypertext\CreateHyperlink\



> Hi there,

>

> I'm trying to set the tag of an item, and I'm getting odd results.

> Here's a bit of sample code:

> text is just the default, 0.

> Any idea why this might be the case?

>

> Cheers,

> Martin





Powered by ABC Amber Outlook Express Converter