Dear friends,
thank you very, very much for being so helpful.
Something we have noticed is that the Bind Method is no longer there, and the SendToFWH function is integrated by default.
oWebView:InjectJavascript( cJavascript() )
This really cleared things up for me. No need to define SendToFWH in the javascript code because it is injected automatically by the webview...
Code: Select all | Expand
<button onclick='SendToFWH( 123 )'>Call FWH app from web browser</button>
And bOnBind event handler lets my Harbour program process the data received from the HTML.... I hope I understood this correctly...
Thank you
Thank you also for making it clear, dear Antonio, that TWebView2 is the way to go.
I only find
c:\fwh2023\source\classes\twebview.prg and I think this is why this doesnt compile...
Please can you point me to the download of the missing class?
What else would interest me...are there more functions injected by default like "sendtofwh"?
Again many, many thanks and kind regards,
Ruth