Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Display status of a long process?
Message
De
08/01/1997 04:42:43
 
 
À
07/01/1997 11:18:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00016435
Message ID:
00016725
Vues:
46
>I found the timer event not fired until the SCAN LOOP command executed,
>what's wrong ? Is there any one have a good idea or any 3rd-party .OCX can
>do this kind of things ? Please give me some help, I really need that !
>Thanks a lot !
>Catherina of AS SOTA Co.

You can use SCAN WHILE or SCAN FOR and an expression that returns .T. so that it will scan the whole file. That expression could be a User Defined Function that every 10 records adds a ">" to that message.

I use Rick Strahl's wwTherm class for VFP 3, with an addition that I hope will get into FoxTalk (around MAY due to publication delays).

You can AND your logical expression to the front of your existing FOR/WHILE expression so that it gets executed (remember VFP has short circuit evaluation) and yet doesn't disturb the program too much.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform