Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Progress bar
Message
De
18/08/1999 07:28:33
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00254765
Message ID:
00254868
Vues:
17
>Thanks Fernando
>
>I can do that, I'm ussualy using progress bar when generating report or processing data, but I'm still don't know how to use progress bar when indexing table.
>
>Send me example code to heksa@bigfoot.com if you have.
>
>Many thanks


You have to include a call in your index expression to a function that updates the progress bar. Something like:

index on MyName+updbar()

where updbar() updates the progressbar and returns a value that can be summed with the index expression. '' in the example above.

There is a problem with this solution. The index is no longer used by rushmore optimization.

There is an article in one of the latest FoxPro Advisor that shows how to strip the function from the index using low level file handling after the indexing is done.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform