trichview.com

trichview.support




Re: Hyperlinks and export


Return to index


Author

Message

Sergey Tkachenko

Posted: 02/23/2004 20:21:19


Do you mean demo

Demos\Delphi\Assorted\Hypertext\URLs ?


This demo does not store hyperlinks in tags.

So you can either call a procedure copying hyperlinks' text to their tags

(and call it after an url detection), or modify procedures for

OnWriteHyperlink and OnJump.

They can check the tag first, and if it's not assigned, they can use item

text


In OnWriteHyperlink:


if RVData.GetItemTag(ItemNo)<>0 then

  Target := PChar(RVData.GetItemTag(ItemNo))

else

  Target := RVData.GetItemTextA(ItemNo);


> I have used MarkUrls procedure to automatically find and create url.





Powered by ABC Amber Outlook Express Converter