Einzelnen Beitrag anzeigen

Benutzerbild von xZise
xZise

Registriert seit: 3. Mär 2006
Ort: Waldbronn
4.303 Beiträge
 
Delphi 2009 Professional
 
#4

Re: TSearchRec with progressbar

  Alt 9. Mär 2010, 10:33
Moin,
And in newer versions of Delphi you can use a Marqueebar, so the user can see, that there is working something.

You can't the the number of files within a directory, without counting them in a separated TSearchRec loop (but then you would do everything twice). This way is only suitable, when you do big thinks with every file, so the counting is very fast compared to the calculation.

Sincerly
Fabian

PS: Sorry for my english
Fabian
Eigentlich hat MS Windows ab Vista den Hang zur Selbstzerstörung abgewöhnt – mkinzler
  Mit Zitat antworten Zitat