I have to show a slide show containing javascript language using TWebBrowser Component in Delphi 2010.
While I am playing in IE Browser it doesn't show any errors.
But while running in delphi it shows script error messages.
I don't know javascript language, So I can't do any modifications in javascript code but can do in delphi code.
I need a help that how to stop showing script error messages and play the slide show continuously.
I have coded WebBrowser.Silent:=true in code but it stops both error messages and slide show of images.
Thanks in Advance
I agree with RRUZ, WebBrowser1.Silent := True;
, placed in your code should hide the errors popup...
Regarding the slide show which is stopped... I think the answer has been already posted here: How do I make TWebBrowser keep running JavaScript after an error?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With