Special Properties

Notes: Special properties for the WEB-BROWSER2 control differ from those available for the WEB-BROWSER control (not deprecated) as follows:
  • The CLEAR-SELECTION, PAGE-SETUP, PRINT-PREVIEW, and PROPERTIES properties are not available for WEB-BROWSER2
  • Because automatic printing to the default printer is not supported by Microsoft Edge, the PRINT-NO-PROMPT property is not available
  • Because Microsoft Edge does not support print templates, the CUSTOM-PRINT-TEMPLATE property is not available
  • Differences in the implementation of the SAVE-AS-NO-PROMPT property remove the necessity for the PRINT-FILE property, which is no longer supported
  • The following configuration variables are specifically for use with the WEB-BROWSER2 control:
    • WIN32_BROWSER2_FOLDER
    • WIN32_BROWSER2_VERSION
    • WIN32_USER_DATA_FOLDER

WEB-BROWSER2 is based on Microsoft WebView2, which is available in a number of versions. The following Special Properties enable a COBOL program to specify which WebView2 version is being used as well as the Path and Data folders for WebView2: