I want to create a form with a twebbrowser and a tedit box, more if needed.
Then lets say, I want the browser to be on google.com and when I type in the search bar I want it to type in the tedit as well. Best would be at the same time but it is fine if i click away it will fill in the tedit box as well. i just want to understand how this work, Type on the site and have the edit boxed automatically typed as well.
anyone can help me?
There is no event in
TWebBrowser
(so far as I know) that fires as you edit the location (I don't thinkTWebBrowser
has a search bar so I presume that's what you mean).When I have tried to keep a host app in sync with a
TWebBrowser
I have used theOnBeforeNavigate2
event.