Lkan
Lkan

Reputation: 21

Equivalent to WebBrowser.Navigated Event in Delphi?

What is the equivalent to WebBrowser.Navigated Event in native delphi (XE3)?

Upvotes: 1

Views: 376

Answers (2)

Remy Lebeau
Remy Lebeau

Reputation: 596332

The TWebBrowser.OnNavigateComplete2 event.

Upvotes: 2

bummi
bummi

Reputation: 27377

Will be OnNavigateComplete2 :

Write an OnNavigateComplete2 event handler to take specific action when the Web browser successfully navigates to a new resource. The event can occur before the document is fully downloaded, but when it occurs at least part of the document must be received and a viewer for the document created.

WebBrowser.Navigated Event :

Handle the Navigated event to receive notification when the WebBrowser control has navigated to a new document. When the Navigated event occurs, the new document has begun loading, which means you can access the loaded content through the Document, DocumentText, and DocumentStream properties. Handle the DocumentCompleted event to receive notification when the WebBrowser control finishes loading the new document.

Upvotes: 4

Related Questions