I have set the properties of the hyperlinktextattr for a richtext to
HyperlinkTextAttr.Underline = tsFALSE
HyperlinkTextAttr.NotUsedForSpellAsYouGo = True
HyperlinkTextAttr.UnderlineColor = clBlue
HyperlinkTextAttr.TextColor = clHighlight
HyperlinkTextAttr.UseUnderlineColor = True
HyperlinkTextAttr.UseTextColor = True
HyperlinkTextAttr.HotUnderlineColor = clRed
HyperlinkTextAttr.HotTextColor = clHighlight
HyperlinkTextAttr.UseHotTextColor = True
HyperlinkTextAttr.HotUnderline = tsFALSE
HyperlinkTextAttr.HotEffect = wpeffPopup
HyperlinkTextAttr.HotStyleIsActive = True
HyperlinkTextAttr.HotEffectColor = clBtnFace
This all works fine in general. However, I have pasted a document from MS Word into the richtext and if I insert a hyperlink using hyperlinktextattr inside that text the text does not appear highlighted. The hover effects work however. Any ideas why that might be happening? any work around?
It doesn't happen with all text pasted into the rich text just certain texts.