5 comments. Current rating: (2 votes). Leave comments and/ or rate it.
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 would be more useful if it was about how to call Delphi code from javascript function when using TWebBrowser ( that is what the question was for ).
2007-10-30, 16:49:38
anonymous
You can supply your own (COM) interface (and it's implementation) and attach it to the TWebbrowser control, and make calls to that interface from javascript. Some googling will provide you good examples!