本文整理自网络,侵删。
progressbar1.Max:=myzip.ZipSize;
procedure TForm1.myzipFilePercentDone(Sender: TObject; Percent: Integer);
begin
progressbar1.Position:=percent;
end;
procedure TForm1.myzipTotalPercentDone(Sender: TObject; Percent: Integer);
begin
progressbar2.Position:=percent;
end;
相关阅读 >>
Delphi 获取本机 hostname ip address
更多相关阅读请进入《Delphi》频道 >>