Thursday, October 07, 2021

Tip of the Day: Edge Support for Web Browser Form Controls
Product.......: R:BASE X.5 and R:BASE X.5 Enterprise (Version 10.5)
Build.........: 10.5.4.11007 or higher
Sections......: Forms
Keywords......: Web Browser, Engine, Edge, Data Folder, IE

Did you know that the DB Web Browser, Variable Web Browser,
and Web Browser form controls were enhanced with a new
"Engine Type" property to specify the browser engine
(Internet Explorer/Edge) for displaying web pages?

With Edge being made the default browser in newer Windows
operating systems, and Web Browser form controls being based
upon Internet Explorer, users and developers now have the
option to specify the underlying browser.

Also in the properties is the Edge data folder that may be
specified for the session information.

In order to use Edge as the browser engine, WebView2 Runtime
must be downloaded and installed, and files must be placed
accordingly. Please refer to the help file instructions for
the appropriate Web Browser control.

Allowing users and developers to easier transition the engine
type for Web Browser based forms, by not having to modify all
forms, application wide PROPERTY commands have been implemented:

GLOBAL_BROWSER_ENGINE - <NO_PREFERRED|IE|EDGE|EDGE_IF_AVAILABLE>
Specifies the Web browser engine to display web pages, globally
for the session

GLOBAL_EDGE_DATA_FOLDER - <path>
Specifies the folder location where Edge places the session
information, globally for the session

PROPERTY APPLICATION GLOBAL_BROWSER_ENGINE EDGE
PROPERTY APPLICATION GLOBAL_EDGE_DATA_FOLDER C:\Temp\EdgeData

To check if WebView2 Runtime is installed, which is required to
use Edge for Web Browser controls, a CHECK_WEBVIEW2 parameter
for the GETPROPERTY command has been added. The result is either
OK or NOT FOUND.

GETPROPERTY APPLICATION CHECK_WEBVIEW2 'vWebView2Install'

Very Best R:egards,

Razzak.

R:BASE Technologies, Inc.
https://www.rbase.com

--
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/0MTjFe-1mPR9s4B9c-00QVHK%40mrelay.perfora.net.

Reply via email to