Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create progressBar for Indexing and packing
Message
From
03/07/1998 12:22:59
 
 
To
03/07/1998 11:19:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00113980
Message ID:
00114100
Views:
22
>>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
Map
View

Click here to load this message in the networking platform