Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create progressBar for Indexing and packing
Message
 
À
03/07/1998 03:45:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00113980
Message ID:
00114004
Vues:
25
>>>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,
>
>I guess that the question was much more targeted at : how can I show a progress bar WHILE indexing.
>
>I've done this in the past within an UDF ... but just accessing the file later on gets the nasty progress bar to pop over.

Ahhh... does he mean % of records packed or reindexed per table??
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