trichview.com

trichview.support.thirdparty




RvHtmlImporter and RvHtmlImporterImageRequired event


Return to index


Author

Message

Jonas Bilinkevicius

Posted: 11/22/2003 15:37:34


Hello,


I am trying to paste HTML page to RichViewEdit. RvHtmlImporte fires the

event

RvHtmlImporterImageRequired if picture is present in html page. How to get

image path

if I am PASTING html page from clipboard? SRC constanta return only Site

Root path like

/images/my.gif

It is no problem if I am importing HTML using OpenDialog.

I can use code from demo project:  s :=

ExtractFilePath(OpenDialog1.FileName) + StringReplace(Src, '/', '\',

[rfReplaceall]);


But If I am pasting html from clipboard....


Any suggestions?


I have only one . Program automaticaly opens "Browse For Folder" Dialog to

locate images

manualy if page is pasted from clipboard.


Where is any better solution?


Regards,

Jonas





Powered by ABC Amber Outlook Express Converter