E
eryu
Unregistered / Unconfirmed
GUEST, unregistred user!
以下是我下载部分的代码:
for j:= 1 to MyStrList.countdo
try
tmpStream:=TFileStream.Create(DirEdit.Text+'/'+GetFileName(MyStrList.Strings[j-1]),fmCreate);
idHttp1.Get(MyStrList.Strings[j-1],tmpStream);
finally
tmpStream.Free;
end;
请问怎样在下载时通过按下一个按钮来中断下载过程?
for j:= 1 to MyStrList.countdo
try
tmpStream:=TFileStream.Create(DirEdit.Text+'/'+GetFileName(MyStrList.Strings[j-1]),fmCreate);
idHttp1.Get(MyStrList.Strings[j-1],tmpStream);
finally
tmpStream.Free;
end;
请问怎样在下载时通过按下一个按钮来中断下载过程?