FMX.WebBrowser.TCustomWebBrowser.WindowsEngine

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property WindowsEngine: TWindowsEngine read GetWindowsEngine write SetWindowsEngine;

C++

__property TWindowsEngine WindowsEngine = {read=GetWindowsEngine, write=SetWindowsEngine, nodefault};

Properties

Type Visibility Source Unit Parent
property public
FMX.WebBrowser.pas
FMX.WebBrowser.hpp
FMX.WebBrowser TCustomWebBrowser

Description

TCustomWebBrowser.WindowsEngine allows selecting Web browser engine only for Windows platform.

RAD Studio supports the following web browsers:

  • InternetExplorer (default)
  • Microsoft Edge

TCustomWebBrowser.WindowsEngine allows you to configure the following rules:

  • IEOnly - TWebBrowser uses Internet explorer as backend.
  • EdgeIfAvailable - TWebBrowser tries to use Microsoft Edge, otherwise it uses Internet Explorer.
  • EdgeOnly - TWebBrowser uses the Microsoft Edge as backend. If Microsoft Edge is not available, TWebBrowser raises an exception about it.
Note: Ignore the None value, this should not be used.