Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Microsoft Progress Bar SP6
Message
De
30/07/2003 05:55:14
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00814827
Message ID:
00814832
Vues:
12
Neil,

Try the following and see if it suits your purposes.
ThisForm.oleProgressBar.Min = 0
ThisForm.oleProgressBar.Max = 100

select count(*) from customers into cursor test ;
	where ThisForm.UpdateProgress(recno(), reccount()) 
Create a method on the form called UpdateProgress.
LPARAMETERS tnRecno, tnReccount
LOCAL lnPercentage

lnPercentage = int(tnRecno * 100 / tnReccount)
ThisForm.oleProgressBar.Value = lnPercentage
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform