Alternate Text

General TRichView support forum. Please post your questions here
Post Reply
CCY

Alternate Text

Post by CCY »

I am implemeting a hyperlink feature for both text and picture (Hot Picture).

To insert a new link I will call InsertStringTag and set current selected text as hyperlink I will call SetItemTagEd. Just like what RichView Actions did.

But how can I add Alternate Text to it? And how to get it back? Then when exporting to HTML will this alternate text being exported as well? eg alt='test link'?

Can you modify the CreateHyperlink demo in RichView and provide the link for me to download it and have a look?


Thank you very much!! :)
Sergey Tkachenko
Site Admin
Posts: 17565
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

In HTML, alt attribute is only for pictures (it is text ALTernative to the picture). But almost any visual element can have title attribute (popup hint).
See this topic: http://www.trichview.com/forums/viewtopic.php?t=355
(hint can be applied to any item in trichview, not only to the pictures)
Post Reply