Is there a way to detect and override a url/link in html page loaded inside a DPFWEB as we can do in TWebBrowser???
eg. TMS iCL WebViews expose event to detect an url click ...
procedure TForm1073.TMSFMXNativeUIWebView1ShouldStartLoadWithRequest( Sender: TObject; ARequest: string; ANavigationType: TTMSFMXNativeUIWebViewNavigationType; var AShouldStart: Boolean); begin
Hi Luca,
Use TDPFUIWebView OnRequest Event
Regards
Hi Babak
The OnRequest Event doesn't return infromation about link: ARequest: string; --> to make some action AShouldStart: Boolean --> to abort or continue
thanks
Hi Luca
Download last source [code] and see new OnRequest parameters.
regards
Code: code
Wow! Same Embarcadero speed in maintaining code ;-)
Log in to post a comment.
Is there a way to detect and override a url/link in html page loaded inside a DPFWEB as we can do in TWebBrowser???
eg. TMS iCL WebViews expose event to detect an url click ...
procedure TForm1073.TMSFMXNativeUIWebView1ShouldStartLoadWithRequest(
Sender: TObject; ARequest: string;
ANavigationType: TTMSFMXNativeUIWebViewNavigationType;
var AShouldStart: Boolean);
begin
Last edit: luca 2013-10-17
Hi Luca,
Use TDPFUIWebView OnRequest Event
Regards
Hi Babak
The OnRequest Event doesn't return infromation about link:
ARequest: string; --> to make some action
AShouldStart: Boolean --> to abort or continue
thanks
Last edit: luca 2013-10-18
Hi Luca
Download last source [code] and see new OnRequest parameters.
regards
Related
Code: code
Wow! Same Embarcadero speed in maintaining code ;-)
thanks
Last edit: luca 2013-10-22