Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stop form
Message
De
27/06/2002 11:18:32
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00672891
Message ID:
00672894
Vues:
16
>Hi everybody,
>
>We have an application, called Querier, which executes different types of queries stored in a MetaFile. In some cases we use saved user's criteria. In order to retrieve these criteria we use another complicated application called BtCrit. This application has a form which supports RUN and Design actions. In RUN mode the form still has to be instantiated, but it's not visible to the user.
>
>Anyway, Querier has ability to stop query by pressing ESC. I just tried to press ESC too earlier (when BTCrit form was instantiated) and got VFP standard Interrupted message with Suspend Ignore Cancel buttons...
>
>What can I do to stop the form and clearly return to the calling procedure in the middle of Init by pressing ESC?
>
>Thanks a lot in advance.

How about SET ESCAPE OFF, and then regularly checking for INKEY() to allow the interruption?

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform