DefaultScriptDialogsEnabled
Interface AntView
Type: Property
Access: Read/Write
Data Type: Boolean
Determines if the WebView control will display the default JavaScript dialog.
The default is true.
If you set this to false then the WebView control will not display the default javascript dialog for alert, confirm and prompt functions.
Instead of that, the control will raise the OnScriptDialogOpening event with all the info you need to present the user your own dialogs.
In the Microsoft .net interface this is the CoreWebView2Settings.AreDefaultScriptDialogsEnabled property.
AntView - The MS Edge WebView2 ActiveX control Date last changed: 09/25/2024