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
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
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