Vcl.Edge.TCustomEdgeBrowser.BrowserExecutableFolder
Delphi
property BrowserExecutableFolder: string read FBrowserExecutableFolder write FBrowserExecutableFolder;
C++
__property System::UnicodeString BrowserExecutableFolder = {read=FBrowserExecutableFolder, write=FBrowserExecutableFolder};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Edge.pas Vcl.Edge.hpp |
Vcl.Edge | TCustomEdgeBrowser |
Description
Specifies the location of msedgewebview2.exe (Microsoft Edge WebView2)
The property value can contain environment variables surrounded by % signs, e.g. %LOCALAPPDATA%\EdgeRuntime
If it does not, set this as default variables to look for an installed version of the WebView2 runtime or alternatively an installation of Edge Canary.
Setting this property affects the next creation of the underlying WebView2 control.
If this component has already created a WebView2 control then setting this property will have no effect unless the WebView2 control gets recreated (e.g. by ReinitializeWebView or ReinitializeWebViewWithNewBrowser).
Note: If the path contains \Edge\Application\ then the WebView2 creation will fail.