Manually Writing the HTML in TWebBrowser

Posted by nomad311 on Stack Overflow See other posts from Stack Overflow or by nomad311
Published on 2010-05-06T21:32:26Z Indexed on 2010/05/06 21:38 UTC
Read the original article Hit count: 281

Filed under:

I am using the strategy suggested here: http://cc.embarcadero.com/Item/23992 to get my HTML in the TWebBrowser, but I get a bunch of JavaScript errors when the page loads. If I click yes enough times I can see a page with no formatting and I'm guessing the page does nothing.

My theory is that because the links in the HTML are relative, the browser can't load any of it. I have switch from passing the URL, 'about:blank' to the navigate function, to passing the servers home page - in the hopes that some internal mechanism will be able to generate full paths, but no luck.

Any one successfully been able to manually write HTML to the TWebBrowser.

© Stack Overflow or respective owner

Related posts about delphi