Get URL from TChromium
Posted: Thu May 21, 2020 9:21 am
Hi,
Using Chromium1.LoadURL('http://...') wil navigate to a page.
However when the address changed by a component, I want to read back the URL.
e.g. l_url := Chromium.ReadURL
I tried Chromium1.Broswer.MainFrame.URL but that always returns : 'about:blank'
I can not find such call, or I do not know how to retreive the current URL from TChromium.
How can I do that?
Using Chromium1.LoadURL('http://...') wil navigate to a page.
However when the address changed by a component, I want to read back the URL.
e.g. l_url := Chromium.ReadURL
I tried Chromium1.Broswer.MainFrame.URL but that always returns : 'about:blank'
I can not find such call, or I do not know how to retreive the current URL from TChromium.
How can I do that?