OnExecuteScriptFinished - cWebView2Browser
Sent whenever a script executed using ExecuteScript is finished
Type: Event
Parameters
| Parameter | Type | Description |
|---|---|---|
| iExecutionId | UBigInt | Unique script identifier |
| iErrorCode | Integer | Error code in case of an error (0 if successful) |
| sResult | String | Execution result |
Syntax
Procedure OnExecuteScriptFinished UBigInt iExecutionId Integer iErrorCode String sResult
Description
This message is sent whenever a script executed using ExecuteScript is finished.
It can be used to see if errors occurred (iErrorCode) and to handle the result of the script (sResult).
If the script does not have a result, then sResult will be the string "null". See ExecuteScript for an example of OnExecuteScriptFinished.