| Subject: | TWebBrowser Catching/Handling Script Errors |
| Posted by: | B.J. Rao |
| Date: | Fri, 8 Jan 2010 |
How to catch/handle Script Errors using TWebBrowser?
When loading a web page with script errors TWebBrowser will present a dialog. The dialog lists info pertaining to the error as well as requiring confirmation to turn off scripting.
1. How to prevent this dialog from appearing?
2. How to read the error information?
TWebBrowser does not have an OnScriptError event.
This question has been posed before but a satisfactory answer has yet to be provided/found.
Thank you.