RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SHDocVw.TWebBrowserDocumentComplete Type

TWebBrowserDocumentComplete is the type for event handlers that respond when the Service Control manager stops a service.

Pascal
TWebBrowserDocumentComplete = procedure (ASender: TObject; const pDisp: IDispatch; var URL: OleVariant) of object;
C++
(ASender: TObject; const pDisp: IDispatch; var URL: OleVariant) ( TWebBrowserDocumentComplete)();

Sender is the Web browser that is loading the document.  

pDisp is the Automation interface of the top-level frame or browser. When loading a document without frames, pDisp is the interface of the Web browser. When loading a document with multiple frames, this is the interface of the containing frame, except for the very last time the event occurs, when it is the interface of the Web browser.  

URL is the URL, UNC file name, or PIDL that to which the Web browser navigated. This URL can be different from the URL to which the browser was told to navigate. For example, the browser may have been redirected by the target resource or by an OnCommandStateChange event handler. In addition, the value of URL is the canonicalized and qualified URL: for example, if an application specified a URL of "www.borland.com" in a call to the Navigate or Navigate2 method, the URL in the OnDocumentComplete event handler is "http://www.borland.com/". 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!