Table of Contents

TTMSFNCWXCustomContainer Class

Base control that hosts arbitrary HTML content in an embedded web view. It manages a collection of positioned element containers and a set of resource links, and surfaces browser events back to the application.

API unit family: TMSFNCWXContainer Inherits from: TTMSFNCCustomWEBControl

Syntax

TTMSFNCWXCustomContainer = class(TTMSFNCCustomWEBControl)

Remarks

This is the non-published base class. Use the published descendant for design-time use. Populate ElementContainers with HTML blocks and Links with the scripts and stylesheets the content needs.

Methods

Name Description
CaptureScreenShot Captures a screenshot of the hosted page content.
ClearCache Clears the browser cache.
EndUpdate Ends a batch update and refreshes the element containers in the hosted page.
ExecuteJavaScript Runs the given JavaScript in the hosted page and optionally reports the result.
ExecuteJavaScriptSync Runs the given JavaScript in the hosted page and returns its result synchronously.
ShowDebugConsole Opens the developer debug console for the hosted page where supported.