Load an HTML File into a TWebHTMLContainer

What would be the best (easiest) way to load an HTML file from a given URL into a TWebHTMLContainer? I could write it as javascript (asm), but wondered if there is a "WebCore" way of doing this.

It might a nice feature to have Source as a property of the container which would take a URL.


Use the TWebHttpRequest and the HTML response as string is retrieved via the OnResponse event and you can assign this to the content of the TWebHTMLContainer.

1 Like

Thanks. As I am using JQuery and templates I have just used


This time.

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.