[EMAIL PROTECTED] wrote:
 
> My problem is I want to connect the HTTPCli to a progress bar and
> update it as the document comes down the wire.

Never tested, but this should work:

ProgressBar1.Position := 0;

Event OnDocBegin
ProgressBar.Max := HttpCli.ContentLength;


Event OnDocData 
ProgressBar.Position := HttpCli.RcvdCount;

--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to