Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create progressBar for Indexing and packing
Message
De
03/07/1998 12:22:59
 
 
À
03/07/1998 11:19:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00113980
Message ID:
00114100
Vues:
23
>>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
>
>I tried several 'simple' things that didn't work... but, I think the only way to do it is going to be to create your Thermo bar form. Put a timer on it that fires every couple of seconds. In the timer fire event update the progress bar bassed on _tally.
>
>When you do the form you will have to pass it the title, message, and total records in the file... then do the pack... sort of like...
>
>do form thermo(nTotalRecords,'Packing File','This File...')
>pack
>_vfp.activeform.release
>
>This should work for index, pack, select, etc. Any command that uses _tally.
>
>Let us know how you make out.
>
>BOb

Bob:

The problem we encountered with using a timer is that the timer does not work during a process such as select-SQL. There was a library tool (freeware) floating around somewhere which took care of this, If I find it, I'll post it here.

Later,
Binoy
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform