New WebBrowser Control

The WebBrowser control uses the Chromium Embedded Framework (CEF), an open source framework used in many applications to provide web browsing functionality. The WebBrowser control can be used to create a Web browser that can execute JavaScript and communicate between the Web page and the PowerBuilder client.

The WebBrowser control:

  • Supports browsing web page that contains JavaScript

  • Supports accessing web page that requires basic or digest authentication

    The WebBrowser control will automatically display a login window for the user to enter the user name and password for authentication. If the authentication fails, this window will display again until the authentication is successful or the authentication operation is cancelled.

  • Supports browsing HTML and HTML5 pages

  • Supports browsing a PDF file online

  • Supports browsing local files (including htm, gif, jpg, jpeg, png, swf, txt, c, cpp, pdf, etc.) and does not support browsing the Microsoft Office file including docx, xlsx etc. or any file that cannot be opened by Google Chrome.

  • Supports playing audios and videos at common formats in web page (MPEG-4 ASP, H.264, and H.265 formats are unsupported)

  • Supports accessing microphone or camera on the device

  • Supports playing flash (with the flash plug-in installed by the user)

  • Supports browsing web pages that support multiple languages

  • Supports printing web pages as PDFs and responding to the print events

  • Supports the various HTTPS protocols

  • Supports the right-mouse context menus

  • Supports web page zoom in/out

  • Supports responding to the error event from the server certificate

  • Supports dynamically configuring the file download location and proxy settings

For more about the supported/unsupported features and the properties/functions/events of the WebBrowser object, refer to the section called “WebBrowser control” in Objects and Controls.