Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How use progress bar
Message
From
05/05/2004 11:43:58
 
 
To
05/05/2004 10:28:18
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00901190
Message ID:
00901223
Views:
18
>Please, I will want someone help me ,
>How can I use progress bar when indexing a table
> nb my english is not so good , i try my best
>Thanks



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.

Note: I remember Abidjan as being in Ivory Coast (Côte d'Ivoire). How come your ID says Abidjan, Kansas, USA?


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform