Board index » delphi » TIdPOP3 email download progress/status, Indy 9.0 (Kudzu - Team Indy)
Inferno
![]() Delphi Developer |
Mon, 09 Feb 2004 17:39:55 GMT
TIdPOP3 email download progress/status, Indy 9.0 (Kudzu - Team Indy)
Took your advise and looked at the help and show the number of bytes, so I
tryed to use the bytes of the mailbox for the progress bars max value and then increment the progress for the number of bytes it had retreived the only problem I have found now is that onWork does not seem to add up correctly to the number of bytes in the mailboxsize, it goes all the way up then back down to minus no.'s then back up again. The Code I am using, am I doing something wrong or does the indy component procedure TfrmEmail.svrPOP3Work(Sender: TObject; AWorkMode: TWorkMode; frmStatus.prgStatus.Progress := frmStatus.prgStatus.Progress + (AWorkCount end; And before I retreive the message I set the progressbar up frmStatus.prgStatus.Progress := 0; There is only one mail with a 30mb attachment and it's RetrieveMsgSize is Has anyone succefully got the progress of a mail being retreived with the Thanks Lee |