Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Thermometer
Message
De
21/09/2005 17:43:56
 
 
À
21/09/2005 17:10:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01051792
Message ID:
01051799
Vues:
11
>I have never used a thermometer in an application before. (I know, I know, you could say something really nasty here . . . but resist the urge and read on) - I need to run it against a process that takes about four minutes. What's the best way to accomplish this?

If the process is against a file, divide 100 by the #/records in the file and that gives you a value to increment each time a record is processed. If there's thousands of records or so many that the thermo bar updating slows down the process, only update when the thermo value is evenly divisible by 1's, 2's or 3's whatever your preference.

If it's multiple processes, make a best guess of time for each process and update the thermometer by an appropriate value at the end of each process.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform