TTMSFNCWXCustomContainer.ExecuteJavaScript Method
Runs the given JavaScript in the hosted page and optionally reports the result.
API unit family: TMSFNCWXContainer
Declaring type: TTMSFNCWXCustomContainer
Syntax
procedure ExecuteJavaScript(AScript: String; ACompleteEvent: TTMSFNCWebBrowserJavaScriptCompleteEvent = nil; AImmediate: Boolean = False); override;
Parameters
| Name | Description |
|---|---|
AScript |
The JavaScript source to execute. |
ACompleteEvent |
An optional handler invoked with the result when execution completes. |
AImmediate |
When True, runs the script immediately rather than queuing it. |