1.指定文件下载目录和文件名在onBeforeDownload 事件里面
调用callback.Cont(“文件名”,false);
2.文件下载完成提示,直接给外国人的答案,在onDownloadUpdated事件中:
if downloadItem.IsInProgress then
ShowStatusText('Download in progress');//这是在下载过程中
if downloadItem.IsComplete then
ShowStatusText('Download complete');//这是完成
if downloadItem.IsCanceled then
ShowStatusText('Download cancelled');//这是取消