Fired when you execute in JavaScript the window.postComMessage(value) function in order to pass values from JavaScript to your application.
An OLE/COM Variant returned from the JavaScript context by calling window.postComMessage function.
When you call window.postComMessage function you can pass arbitrary scalar JavaScript values which are converted to Strings (BSTR).
postComMessage |
Copy Code |
---|---|
window.postComMessage(5); window.postComMessage(3.14); window.postComMessage("Hello World!"); window.postComMessage(new Date()); window.postComMessage(true); window.postComMessage(5, 3.14, "Hello World", new Date(), true); |
Fired when you execute in JavaScript the window.postComMessage(value) function in order to pass values from JavaScript to your application.
Visual Basic |
---|
Public Event OnComPostMessage( _ ByRef Params As Variant _ ) |
An OLE/COM Variant returned from the JavaScript context by calling window.postComMessage function.
When you call window.postComMessage function you can pass arbitrary scalar JavaScript values which are converted to Strings (BSTR).
postComMessage |
Copy Code |
---|---|
window.postComMessage(5); window.postComMessage(3.14); window.postComMessage("Hello World!"); window.postComMessage(new Date()); window.postComMessage(true); window.postComMessage(5, 3.14, "Hello World", new Date(), true); |
WebKitX implements a bi-directional mechanism for sending data from your application to JavaScript and from JavaScript to your application.
To sent data from your application to JavaScript you can use:
To send data from JavaScript to your application you can use: