Re: Text AFTER a hyperlink?
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
> 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
> backspaces into the hyperlink and then presses space or any other
> I've tried the approach given above but I'm not getting the result I need.
> Mark Smith
> Virtual Methods Ltd
> (sorry if this is a newbie question!)
Powered by ABC Amber Outlook Express Converter