### Create SetOnAlert Handler

Handle the webview event setonalert.
The webview alert function is captured and displayed as dialog.
Private wvBrowser As WebView
Dim joWV As JavaObject = wvBrowser
Dim joWE As JavaObject = joWV.RunMethod("getEngine",Null)
Dim e As Object = joWE.CreateEvent("javafx.event.EventHandler", "wv", False)
joWE.RunMethod("setOnAlert", Array(e))
`Sub wv_Event(MethodName As String, Args() As Object)
Log($"MethodName: ${MethodName} with Arguments: ${Args.Length}"$)
Dim joWebEvent As JavaObject = Args(0)
Log("Browser Message: " & joWebEvent.RunMethod("getData",Null))
End Sub`

Changed: , Category: WebView, File: T6C284M2125.htm, ID: 2125