OnDownloadBegin
NewsProductsDownloadsSupportForumCredits

TEmbeddedWB 
History 
HtmlEdit 
TIEAddress 
TIEDownload 
TIEDownloadManager 
IEGuid 
TIEParser 
Favorites 
TIESecurityManager 
IE5Tools 
TIETravelLog 
TLinksBar 
Protocols 
TRichEditWB 
TWebUpdater 
ResourceTool 
UI - lessParser 
Delphi Links 

 

 

[Home][Support][TEmbeddedWB][Events][OnDownloadBegin]


OnBeforeNavigate2OnCommandStateChangeOnDocumentCompleteOnDownloadBeginOnDownloadCompleteOnFullScreenOnGetExternalOnGetHostInfoOnGetOptionKeyPathOnMenuBarOnNavigateComplete2OnNavigateErrorOnNewWindow2OnQuitOnProgressChangeOnPropertyChangeOnScriptError EventOnShowContextMenuOnShowDialogOnShowHelpOnShowMessageOnStatusBarOnStatusTextChangeOnTheaterModeEventOnTitleChangeOnToolbar EventOnTranslateAcceleratorOnTranslateUrlOnUpdateUIOnVisible

 

OnDownloadBegin event

 

OnDownloadBegin event : This event occurs when the browser starts downloading a document.
Write an OnBeforeNavigate2 event handler to take an action after the browser has located the document and immediately before it starts downloading the document.
For example, use the OnDownloadBegin event to control a progress bar that is updated by an
OnProgressChange event handler. The control can then be stopped in an OnDownloadComplete event handler.

Note:

To take specific action when the Web browser looks up the resource, rather than when it begins downloading, use the OnBeforeNavigate2 event. OnDownloadBegin occurs shortly after OnBeforeNavigate2 .



 procedure TForm1.EmbeddedWB1DownloadBegin(Sender: TObject);
begin

    Progressbar1.Visible :
    StatusBar1.Panels[0].Text := 'Downloading ' +EmbeddedWB1.LocationURL + '...';
end
;

[Home][News][Products][Downloads][Support][Forum][Credits]

Copyright (c) 2005 bsalsa productions. All rights reserved.

bsalsa@bsalsa.no-ip.info