DelphiFAQ Home Search:
General :: Programming :: Delphi :: Network
Network (local network and Internet) programming under Windows with Delphi.

Articles:

This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Featured Article

Calling a Delphi procedure from Javascript

Question:

In a TWebBrowser, I display a webpage with a javascript function, and i need to call Delphi code from that javascript function. How can I achieve that?

Answer:

Well you can only extend window.external

To do this easily, first stop using TWebBrowser and get TEmbeddedWB which can be found at http://www.euromind.com/iedelphi/embeddedwb.htm.

Then read this http://www.euromind.com/iedelphi/embeddedwb/ongetexternal.htm.


Generated 20:01:49 on Sep 15, 2019