Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement