![]() |
![]() ![]() ![]() |
IESniffer component.
|
type
|
TIESnifferEvent = procedure(Sender: TObject; const URL: String; const Browser: IWebBrowser2) of object;
|
|
property OnWBDownloadBegin: TIESnifferEvent;
|
The OnWBDownloadBegin event occurs when the Web browser starts downloading a document.
|
|
Write an OnWBDownloadBegin event handler to take specific action after the IWebBrowser2 has located a document and immediately before it starts downloading the document. For example, use the OnWBDownloadBegin event to launch an animation control the represents downloading or a progress bar that is updated by an OnWBProgressChange event handler. The control can then be stopped in an OnWBDownloadComplete event handler.
|
To take specific action when the Web browser looks up the resource, rather than when it begins downloading, use the OnWBBeforeNavigate2 event. OnWBDownloadBegin occurs shortly after OnWBBeforeNavigate2.
|
OnWBBeforeNavigate2, OnWBDocumentComplete, OnWBDownloadComplete, OnWBNavigateComplete2 and OnWBProgressChange events.
|