Styles

This topic documents the styles available for use with the WEB-BROWSER2 control.

Context-Menus (value 1)
Determines whether the browser's default context menus appear when a user right-clicks in the browser window. This can be queried or set.
Script-Dialogs (value 2)
Determines whether the browser shows the default javascript dialogs when requested. This can be queried or set.
Builtin-Error-Page (value 4)
Determines whether the default built-in error page shows when an error occurs. This can be queried or set.
Script (value 8)
Determines whether the Web page executes any javascript loaded into it. This can be queried or set.
Note: Setting this style does not affect whether javascript sent by the COBOL program executes with the EXECUTE-SCRIPT property. Such javascript always executes.
Status-bar (value 16)
Determines whether the browser status bar shows. The status bar includes information, such as progress and links, that might be useful to the user and that is not available to the COBOL program. This can be queried or set.
Zoom (value 32)
Determines whether the default zoom controls are available to the user. This can be queried or set.