Browser Controls (Magic xpa 3.x)
The Browser control enables the display of HTML files and any other files that your Internet Browser can display.
The Browser control is supported for Rich Client programs only.
The Browser control simulates the work of the Internet Explorer and behaves as if the Browser ActiveX control was used. Once this control has been dropped on the form, we have an embedded browser and can use the control to suit our needs. This means that you can use JavaScript and ActiveX on your HTML files.
Note that the Browser control is based on the WinForm's WebBrowser control, and as such, it relies on Microsoft Window's Internet Options.
You can use the Browser control to display many types of files that the internet browser can display, such as:
Only variables and expressions with Alpha, Unicode, or Blob attributes can be used.
The Browser control properties are listed by categories:
General
Details
Appearance
Mobile
Parking
Navigation
Platform specific: For Windows 10 Mobile devices, for the Browser control to support JavaScript, you need to add the requested URL to the package.appmanifest file. For example:
<uap:ApplicationContentUriRules>
<uap:Rule Match="HTML URL" Type="include" WindowsRuntimeAccess="none" />
</uap:ApplicationContentUriRules>
BrowserSetContent
BrowserGetContent
BrowserScriptExecute
How Do I Interact with a Web Page Running in a Browser Control?
How Do I Show a PDF Inside a Rich Client Form?