How do I navigate a URL with a webbrowser?? This has me and the rest of my company stumped... PLEASE HLP ME!! The way to do it in Delphi 7 doesnt seem to be working
I can only comment on Delphi 6, but this is the way I would do it:
1) Place a TWebBrowser, TLabeledEdit and TButton on the form
2) Change the EditLabel.Caption of TLabeledEdit to 'URL',
change the Caption of TButton to 'GO'.
3) In the OnClick event of the TButton write the following code:
Code:
WebBrowser1.Navigate(LabeledEdit1.Text);
Hope this helps!
Clive
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer."
Paul Ehrlich
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.