Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delphi 8 Web Browser

Status
Not open for further replies.

RuDeDoGg

Programmer
Jul 27, 2004
1
US
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 [infinity]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top