pbIsWebMessageEnabled - cWebView2Browser
Use this property to disable communication using WebMessages between the DataFlex host application and the HTML document
Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None
Syntax
Property Boolean pbIsWebMessageEnabled
| Access Type | Syntax |
|---|---|
| Read Access: | Get pbIsWebMessageEnabled to BooleanVariable |
| Write Access: | Set pbIsWebMessageEnabled to BooleanVariable/Value |
Description
Use this property to disable communication using WebMessages between the DataFlex host application and the HTML document.
If this property is set to False, PostWebMessageAsString and OnWebMessageReceived will not function.
Note that changes to this property at runtime are only applied after the next page load.
Default: True