Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:01 pm
by Torrie >> Tue, 5 Sep 2006 21:42:34 GMT
Have you tried importing the MS Internet explorer active X controls ("Microsoft Internet Controls"?) (I'm assuming that you have a windows client.)
For some reason the beforeNavigate2 event doesn't fire (Microsoft have some information on this). We use the navigate2 method to navigate to the default blank web page
wbSummary.navigate2( "about:Blank", null, null, null, null );
and then in the navigateComplete event on the control set the HTML content of the control.
vars
oActiveDocument : IHTMLDocument2;
begin
oActiveDocument := self.document.getInterface(
IHTMLDocument2 ).IHTMLDocument2;
oActiveDocument.body.innerHTML := <HTML STRING HERE>;
You also need to import the Axtive X library, "Microsoft HTML Object Library" to get this to work.
Perhaps Jade could look at including a HTML or XML control natively in Jade?
Torrie