Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DOEVENTS()
Message
De
15/02/2001 07:00:41
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
DOEVENTS()
Divers
Thread ID:
00476198
Message ID:
00476198
Vues:
60
Hi,
I would like to allow user to cancel a long process by clicking a "Cancel" button. I tried to use "Fast doevents" in my code as the following:
SELECT mytable

SCAN 
   **DO WATEVER
   IF MDOWN()
     DOEVENTS()
   ENDIF
ENDSCAN
I found that, MDOWN() return .T. once I click on my "Cancel" button. However, my code in cancel button.CLICK() is not fired. Any ideas?

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform