Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DOEVENTS()
Message
De
15/02/2001 07:03:27
 
 
À
15/02/2001 07:00:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00476198
Message ID:
00476200
Vues:
23
I think that you need an EXIT command in the IF MDOWN() to exit out of the SCAN/ENDSCAN block.

>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
Thanks,
Dan Jurden
djurden@outlook.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform