Re: Navigate
Posted: Sat Sep 29, 2018 7:30 am
Hi,
The easiest way to open a local file is using TChromium.OpenURL with a FILE URL. There's an example in the MiniBrowser demo.
That demo calls Chromium1.LoadURL('file:///' + OpenDialog1.FileName); to open the file you selected.
However, this way of opening files has some limitations because Chromium has some security measures with FILE URLs. If your app needs to avoid them use the SchemeRegistrationBrowser demo to open local files.
The easiest way to open a local file is using TChromium.OpenURL with a FILE URL. There's an example in the MiniBrowser demo.
That demo calls Chromium1.LoadURL('file:///' + OpenDialog1.FileName); to open the file you selected.
However, this way of opening files has some limitations because Chromium has some security measures with FILE URLs. If your app needs to avoid them use the SchemeRegistrationBrowser demo to open local files.