trichview.com

trichview.support




Re: Text AFTER a hyperlink?


Return to index


Author

Message

Sergey Tkachenko

Posted: 01/30/2003 0:35:24


It's highly not recommended to add empty text items in paragraphs (except

from empty paragraphs).

It's enough just to call ApplyTextStyle(0). Document will not be changed,

but current text style (used for typing new text) will be switched from

hypertext to normal text.


In RichViewActions (http://www.trichview.com/resources/actions/) user can

close hyperlink by selecting text after hyperlink, calling hyperlink dialog

and clearing target.


>

> Hi -

>

> I want to be able to 'close off' a hyperlink properly when a user adds

one.

> For example in the Assorted\Hypertext\CreateHyperlink demo, if you put a

> hyperlink on the last word 'button' and press space, you continue in the

> style (and tag) of the hyperlink.

>

> You can overcome this by doing rve.AddTag('', 0, 0); rve.Format; to push

> a new tag onto the end of the newly inserted hyperlink, but what if the

user

> backspaces into the hyperlink and then presses space or any other

delimiter

> character?

>

> I've tried the approach given above but I'm not getting the result I need.

>

> Regards

> Mark Smith

> Virtual Methods Ltd

> (sorry if this is a newbie question!)





Powered by ABC Amber Outlook Express Converter