Hi,
This demo is using a rtti class extension that has procedures. I am trying to use the rtti extension in my application but my delphi class extension also has functions. How can I send back the result of a function from delphi side to the javascript side? I don't see a way to do it from OnProcessMessageReceived event.
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
JSRTTIExtension demo
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: JSRTTIExtension demo
You can send information in both ways. Use TChromium.SendProcessMessage to send a message to the render process or simply execute some custom JavaScript code with that information by using TChromium.ExecuteJavaScript
Read the code comments in the JSExtension demo for more information.
Read the code comments in the JSExtension demo for more information.