AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Delphi-PRAXiS - Lounge Delphi-News aus aller Welt Browsing in a Windows Application: From Internet Explorer to WebView 2
Thema durchsuchen
Ansicht
Themen-Optionen

Browsing in a Windows Application: From Internet Explorer to WebView 2

Ein Thema von DP News-Robot · begonnen am 28. Jun 2021
Antwort Antwort
Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
15.473 Beiträge
 
#1

Browsing in a Windows Application: From Internet Explorer to WebView 2

  Alt 28. Jun 2021, 15:20
It is fairly common these days in a native applications, like a RAD Studio VCL Windows applications, to have the need to display web content embedded into the applications itself. Microsoft recently made a couple of announcements for the evolution of this area of the Windows platform:

1. Internet Explorer as an applications is not going to ship in the next version of Windows. However, the embedded control (formally MSHTML, but often indicated as the IE ActiveX controls) is remaining. You can read more here, for example.

2. The new WebView2 control, which wraps the same Chromium engine found in the Edge browsers (often indicated as Edge Chromium), which is currently a free download for Windows 10, will be included as part of the new Windows 11 version of the OS

What does this mean for RAD Studio developers who use the VCL library and need to display web content?

  • First, given the*MSHTML control wrapper by the TWebBrowser component remains as part of the OS, you can expect your existing applications will continue to work.
  • However, with IE gone, most web sites and JavaScript libraries*will remove the little left-over IE compatibility. For this reason, unless you have full control on the web site browsed and can keep it as is, the old*MSHTML*will get worse and worse in rendering web sites.
  • With WebView2 available in the Windows 11 OS and easy to distribute with your Windows 10 applications, the sooner you can move to the WebView2 controls wrapped by the TEdgeBrowser component, the better web experience you can offer to the customers of your application
Ultimately, the VCL library doesn't force you to go one way or the other, and it even offers an extended version of TWebBrowser, which can use "Edge" if available on the target computer and fall back to IE if not. As always the VCL offers you a lot of freedom and it is ready to support new platform features as soon as Microsoft releases them.

In the picture below, Embarcadero.com web site rendered with TEdgeBrowser in a VCL application



*



Weiterlesen...
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 01:43 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz