Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reaction on Escape
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00352415
Message ID:
00352418
Vues:
13
SET ESCAPE ON
ON ESCAPE DO MyEscapeCode

>Hi everybody,
>
>I have my form running some process and it also shows Progress bar.
>It does scan .. endscan and update Progress bar info each 100 records.
>I want to have ability to stop this process by Escape.
>
>When I do it, it shows VFP message 'Interrupted...'
>I want to change this behavior, so I put set escape off
>and inside my scan
>if lastkey()=27
> exit
>endif
>
>I don't see any reaction... The process still continues to execute.
>What should I do?
>
>TIA
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform