Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Labels refreshing
Message
De
10/08/1999 09:51:50
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00251501
Message ID:
00251942
Vues:
9
The way I use my progress meter during long batch operations is that I only update it when I change tasks... For example:

mytherm.setsize(1/5)
append from mytable
mytherm.setsize(2/5)
replace all blah with blahblah
mytherm.setsize(3/5)
index on blah
mytherm.setsize(4/5)
select main
set relation to blah into mytable
replace all stuff with blah.stuff
mytherm.setsize(5/5)

That way, it only gets called a few times...

>>Hi Tim,
>>
>>>Sounds good but how do you implement it?
>>
>>It extremely complicated, you drop it on a form and increment the Value property.
>>
>>There are lots of third party ProgressBars and Wrapper classes, but I just use the MS ProgressBar v6.0 that came woth VFP 6. Do you use ActiveX much? If you need anymore help me know.
>
>yeah, sounds complicated. I did get one from the files section just now and finagled it to run. It sure DOES slow down progress though! during a pass thru the dbf.
--Todd Sherman
-Wake Up! Smell the Coffee!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform