I use webbrowser-control (MSHTML Edit) in design mode. When I try to insert a hyperlink for a selected text it works fine. But when I try to insert a hyperlink for a selected picture I got the error:
Error 100
Function expected
Code:
var
pCmd : OleVariant;
begin
html_doc.execCommand('CreateLink', True, pCmd);
end;
How to insert a hyperlink in a picture in another way, different from using execCommand?