SHDocVw.TWebBrowser.OnTitleChange

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnTitleChange: TWebBrowserTitleChange read FOnTitleChange write FOnTitleChange;

C++

__property TWebBrowserTitleChange OnTitleChange = {read=FOnTitleChange, write=FOnTitleChange};

Properties

Type Visibility Source Unit Parent
event published
SHDocVw.pas
SHDocVw.hpp
SHDocVw TWebBrowser

Description

Occurs when the title of a document in the WebBrowser control becomes available or changes.

Write an OnTitleChange event handler to respond when the Web browser obtains information about the document title. Because the title can change while an HTML page is downloading, LocationName is originally set to the URL of the document. After the title specified in the HTML page, if any, becomes available, LocationName is changed to reflect the actual title.

See Also