Skip to main content
Table of Contents

TTMSFNCWXContainer.ExecuteJavaScriptSync Method

Runs the given JavaScript in the hosted page and returns its result synchronously.

API unit family: TMSFNCWXContainer Declaring type: TTMSFNCWXContainer Inherited from: TTMSFNCWXCustomContainer

Syntax

FMX.TMSFNCWXContainer.hppPascalC++
function ExecuteJavaScriptSync(AScript: String): string; override;
virtual System::UnicodeString __fastcall ExecuteJavaScriptSync(System::UnicodeString AScript);

Parameters

Name Description
AScript The JavaScript source to execute.

Returns

The string result produced by the script.