Article View: borland.public.delphi.language.objectpascal
Article #32537Re: How to use a TProgressBar showing real data?
From: The DeerBear
Date: Fri, 22 Nov 2002 10:46
Date: Fri, 22 Nov 2002 10:46
25 lines
1756 bytes
1756 bytes
"Andy Hill" <a.hill@cairnwebnospam.com> wrote in message news:3DDDF870.4030801@cairnwebnospam.com... > I think you'll find that the whole point of his question > was that he doesn't know the Max value until the function > is finished. And I'm saying that if you list all of your dirs before stepping into them you can increment Max accordingly. > I personally would probably just do something like keeping > a count of the number of files found and do something like: > > Caption:=Caption+' - '+IntToStr(NumFiles)+' Files Found.'; That's another possible solution > At least it shows the luser that the code is still busy. Agreed. > -- > Andy Hill. Andrew
Technical Details
Message-ID:
<3dde0b15@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mailReferences:
<3DDCE658.AF38831E@inatel.br> <3ddcfd31$1@newsgroups.borland.com> <3DDD0FFC.8EC7107F@inatel.br> <3ddd06a5$1@newsgroups.borland.com> <3DDDF870.4030801@cairnwebnospam.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109d30,2cde5f40ba106d6b X-Google-Attributes: gid109d30,public X-Google-ArrivalTime: 2002-11-22 03:15:36 PST From: "The DeerBear" <rainaple@tin.it> Newsgroups: borland.public.delphi.language.objectpascal References: <3DDCE658.AF38831E@inatel.br> <3ddcfd31$1@newsgroups.borland.com> <3DDD0FFC.8EC7107F@inatel.br> <3ddd06a5$1@newsgroups.borland.com> <3DDDF870.4030801@cairnwebnospam.com> Subject: Re: How to use a TProgressBar showing real data? Date: Fri, 22 Nov 2002 11:46:45 +0100 Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 217.57.210.22 Message-ID: <3dde0b15@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1037962005 217.57.210.22 (22 Nov 2002 02:46:45 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mail