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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Title

Status
Not open for further replies.

GirishGupta

Programmer
May 28, 2001
30
GB
Hi again,

How do you get the title of the web page in a TWebBrowser?

Also, how would you change the form's caption to (for example) 'My Browser - [Title of Page]'

In Delphi this would simply be:

Form1.Caption := 'My Browser' + title;

Thanks in advance...
 
how about GetWindowText? John Fill
1c.bmp


ivfmd@mail.md
 
Could you elaborate please?

Some code example?

I am new to C++.
 
void __fastcall TForm1::xxxx(TObject *Sender)
{
this->Caption = "hello";
}
John Fill
1c.bmp


ivfmd@mail.md
 
about window is
SetWindowText(hWnd,"hello"); John Fill
1c.bmp


ivfmd@mail.md
 
I've worked it out, it's:

Caption = WebBrowser1->LocationName;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top