Re: idhttp Post Progress

Giganews Newsgroups
Subject: Re: idhttp Post Progress
Posted by:  Remy Lebeau (TeamB) (
Date: Wed, 18 Jan 2006

"Lance Ras" <lan…> wrote in message

> How can I do a progress meter on this?

You already know the answer to that, because you are already doing it.

> Progress.position := 0;
> Progress.Max:=AWorkCountMax;

You are not differentiating between reading and writing.  You should be
looking at the AWorkMode parameter and only updating your ProgressBar when
the AWorkMode is wmWrite.  Also, you should check to see if AWorkCountMax is
zero nor not.  When zero, the max count is not known ahead of time, and your
ProgressBar won't work properly since you set the Max to zero.



In response to

idhttp Post Progress posted by Lance Ras on Wed, 18 Jan 2006