I'm trying to use OnNavigateComplete2 to get the URL of the current page TWebBrowser is on.

Like if I click on a link to google.com the TEdit should change to google.com. It should do this for every new page.

How would I accomplish this?

And what have you tried? and what problem are you getting?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.