Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wait Window / Thermbar
Message
 
À
04/09/2003 11:53:39
N. Lea
Nic Cross Enterprises
Valencia, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00826077
Message ID:
00826116
Vues:
23
There is no easy way to know how long something will take.

The thermbar is your best bet if you can update it as you go along.

Here is some (edited) code I used before to do something similar
loTherm = NewObject("_THERMOMETER","_THERM.VCX","","Output All Pages")
loTherm.Show()
loTherm.iBasis = RecCount("loadedhtml")
Do While Not Eof("loadedhtml")
	loTherm.Update(RecNo("loadedhtml"),"Outputting page: "+allt(loadedhtml.directory)+allt(loadedhtml.file))
	**** do stuff
	EndIf
	Skip in LoadedHtml
EndDo
loTherm.Complete()
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform