Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create progressBar for Indexing and packing
Message
 
À
03/07/1998 01:14:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00113980
Message ID:
00113994
Vues:
21
>Hi, I hav a no idea of creating a progress Bar using vfp5.0 for displaying the % completed during Indexing and packing. can anyone please advise me on this. Thanks

Use MS Progressbar Control.

Drop CommandButton and at Click Event issue:
nIctr = 100 &&ASSUMING 100 FILES
FOR ii = 1 TO nICtr
   USE mytable EXCL
   REINDEX 
   Thisform.oleProgressBar.Value = ii*(Thisform.oleProgressBar.Max/nIctr)
ENDFOR
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform