Nic,

> While I'm asking, has anyone played with embedding IE4 inside of
> Delphi - or
> any other app for that matter. I can get it in there, open pages,
> get status
> results etc etc, and even (I think) call script on the page - but I can't
> make script call BACK into my code (ie, events). Anyone have any ideas on
> how to do this, or better yet, and example or 2??

If your app is also an Active-X server, you can drop an instance of the
server on the HTML page and have your vb / java script call methods in the
Active-X object.  Otherwise, you will have to extend the DHTML model to
include your app's objects.  Yuck!

Better to not have scripts in the HTML and rely on logic in you app.  You
can still trap certain events on IE4 (eg links and buttons) by trapping the
OnBeforeNavigate event.

Cheers,
------------------------------------------------------
Dennis Chuah, BE (Hons)  [mailto:[EMAIL PROTECTED]]
Manager, Product Development
Contec Data Systems Ltd. [http://www.contecds.com]
tel: +64-3-3580075  fax: +64-3-3580045




---------------------------------------------------------------------------
  New Zealand Delphi Users group - Offtopic List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to