Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Feb : Re: OnWork does not fire in Indy10 Delphi 2007
| Subject: | Re: OnWork does not fire in Indy10 Delphi 2007 |
| Posted by: | "Jamie Dale" (jamie.da..@yahoo.com) |
| Date: | Tue, 12 Feb 2008 14:23:58 |
You are correct. Remy will not doubt be able to add further detail as he is
one of the core coders.
Reading strings and integers does not use OnWork. OnWork is intended for use
as a progress indicator - EG with a TProgressBar. When reading a string
there is no need to use it as the string comes in one piece - Thus there is
no progress to report!
"KarlLogan" <karl_logan@yahoo.com> wrote in message
news:47b19fb2@newsgroups.borland.com...
> If I recall it correctly, OnWork only gets fired when using Streams, and
> not with Readln, or read. You may want to use a TStringStream instead.
> Then the OnWork will get fired.