Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How use progress bar
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00901190
Message ID:
00901434
Views:
16
Hi Agnes,

>You really can't unless you use a trick, which slows down and might bloat >the index. I've never used it for those reasons.
>Basically the trick is to index on a UDF (User Defined Function) that for >every N records it updates the Progress Bar.

>Somebody else might offer a better solution but I would suggest you do not >use this and simply tell the user to wait. Generally indexing is done by an >admiinistrator so they should understand better what is happening. One idea >is to use a moving image (an AVI for example) like Microsoft does when >copying a file. There is a sample in the FFC (FoxPro Foundation Classes) >that shows how to do this.

Alex just told you about the sample in FFC () the class name is _therm.vcx
You can used this one but not the same as the one you can see on most windows or installer progress bar...

What can you do is you can create a dbf file that holds your table name that you want to index then loop until EOF(), this is a fill style progress bar...

You can select what fillcolor you want and even put a caption on it. I use this one when indexing tables and even saving a record...

Note: If you used this on your project or application, you can limit access to this function by putting some authentication/authorization when they try to use it, and it should be put on your Backend App only..


Hope you can make it.



Best Regards,


Jojo R. dela Cuesta
Dalplus Technologies
http://www.dalplus.com
Jojo R. dela Cuesta, B.Sc.
eConsultant, Programmer
Dalplus Technologies
http://www.dalplus.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform