Contents - Index


DefaultScriptDialogsEnabled

 

Type: Property

Access: Read/Write

Data Type: Boolean

 

 

Determines if the WebView control will display the default JavaScript dialog.

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.