TTMSFNCCustomWEBControlBridge Class
JavaScript bridge object that forwards messages from the hosted HTML page to Delphi event handlers, enabling bidirectional communication between the web control and its JavaScript content.
API unit family: TMSFNCCustomWEBControl
Inherits from: TInterfacedPersistent
Implements: ITMSFNCCustomWebBrowserBridge
Syntax
TTMSFNCCustomWEBControlBridge = class(TInterfacedPersistent, ITMSFNCCustomWebBrowserBridge)
Properties
| Name | Description |
|---|---|
| ObjectMessage | The most recently received message string from the JavaScript bridge. Setting this property dispatches the value to the OnObjectMessage handler. |
Events
| Name | Description |
|---|---|
| OnObjectMessage | Fires when a JavaScript message is received from the hosted HTML page via the bridge communication channel. |