General information
Category:
Coding, syntax & commands
>>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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only