- Jun 6, 2020
- 11,517
- 4,383
Been trying WebView and WebEngine.
Here's a little example of using both. (requires additional library to run)
Shows how to retrieve the hyperlinks in a page and put them in a comboBox, also implement forward and back and home buttons.
Type in a web address (
The examples get progressively more complex. (easiest - webview, hardest webview4)
webview - displaying web pages
webview2 - has example of an inline web page with inline css sheet.
webview3 - rudimentary file downloading can be modified for any type file, example is for text type.
webview4 - has a media player defined - plays flv files. (messy, player is on top of the web window)
On first looks, this appears to be quite a safe browser, as you have to instigate the download.
Here's a little example of using both. (requires additional library to run)
Shows how to retrieve the hyperlinks in a page and put them in a comboBox, also implement forward and back and home buttons.
Type in a web address (
برای دیدن لینک ها باید ثبت نام کنید
...) or file address (file:c:\somefile.txt) to have it displayed in the webview.The examples get progressively more complex. (easiest - webview, hardest webview4)
webview - displaying web pages
webview2 - has example of an inline web page with inline css sheet.
webview3 - rudimentary file downloading can be modified for any type file, example is for text type.
webview4 - has a media player defined - plays flv files. (messy, player is on top of the web window)
On first looks, this appears to be quite a safe browser, as you have to instigate the download.
برای دیدن لینک ها باید ثبت نام کنید