Hi,
I was using the standard TWebView class until now. I am trying to switch to the TWebView2 class. In the old class, we were doing the following to read information from the web page. I couldn't find how to do these operations in the new class.
Is there anybody to help me reading from current active webview? any example.
Thanks.
I was using the standard TWebView class until now. I am trying to switch to the TWebView2 class. In the old class, we were doing the following to read information from the web page. I couldn't find how to do these operations in the new class.
oWebView:bOnBind = { | cJson, nCalls | GetDataFrom_WebView( cJson, nCalls ) }
oWebView:Bind( "SendToFWH" )
oWebView:Navigate(cHtml)
oWebView:Run()oWebView:Eval('SendToFWH( document.getElementById( "username" ).value )')
? cResultVarPROCEDURE GetDataFrom_WebView(cJson, nCalls)
cResultVar := cJson
RETURNThanks.
Regards,
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.06
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.06