Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
C++DelphiRAD Studio

Using the Edge Browser Component (New in RAD Studio 10.4)

RAD Studio 10.4 has a new feature on VCL Web Browser. It is Edge Browser, it has new features and much more compatible than previous web browsers.

Here is a quick help on using the Edge Browser in C++Builder and Delphi;

  1. Install “Edge Canary” version to your Windows
  2. Download “Edge SDK” from the GetIt menu from RAD Studio
  3. Download WebView2 from MS microsoft.web.webview2.0.9.515-prerelease.nupkg or the latest version  
  4. Open downloaded package by 7zip 
  5. Copy required files to your debug or release output directory
    1. If you have a 32bit project copy WebView2Loader.dll from bin/x86
    2. or if you have a 64bit project copy WebView2Loader.dll from bin/x64
  6. Run sample
    1. C++Builder: C:\Users\Public\Documents\Embarcadero\Studio\21.0\Samples\CPP\VCL\WebBrowser\Edge
    2. Delphi: C:\Users\Public\Documents\Embarcadero\Studio\21.0\Samples\Object Pascal\VCL\WebBrowser\Edge

If you create an empty project, drop an edit box and a button to top. Add URL (i.e. https://www.embarcadero.com) to your edit box text.
Drop Edge Browser component UI from the component palette to your form,
and add one of this line below on your mouse click

in C++ Builder:
EdgeBrowser1->Navigate(Edit1->Text);
in Delphi:
EdgeBrowser.Navigate(Edit1.Text);

And don’t forget to copy 32 or 64 bit WebView2Loader.dll to your output directory.

If you click to Edge Browser UI on your form and press F1 Help, you can get more details about its feature.
Also, you can examine the sample for detailed features.

Note: Edge Browser is not supporting FireMonkey, yet.

Read more


Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

About author

33+ years of coding with more than 30+ programming languages, mostly C++ on Windows, Android, Mac-OS, iOS, Linux and some other operating systems. Dr. Yilmaz Yoru was born in 1974, Eskisehir-Turkey. He graduated from the department of Mechanical Engineering of Eskisehir Osmangazi University in 1997. One year later he started to work in the same university as an assistant. He received his MSc and PhD degrees from the same department of the same university. He has married and he is a father of a son. Some of his interests are Programming, Thermodynamics, Fluid Mechanics and Artificial Intelligence. He also likes the graphical 2D & 3D design and high-end innovations.
Related posts
DelphiIDE

The Future of Startups Demands Massive Productivity

C++DelphiInterBaseRAD Studio

RAD Server CRUD Procedures - Part 3

C++CodeDatabaseDelphiRAD Studio

TCoffeeAndCode: Data Visualization – Components, Libraries, Tools and Services

DelphiShowcase

This Native High-Accuracy Walking Profiler Can Measure Reality

1 Comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Worth reading...
New VCL TEdgeBrowser Component in RAD Studio 10.4

IN THE ARTICLES