Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Suppressing User Input
Message
De
25/11/2008 08:25:41
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01363890
Message ID:
01363951
Vues:
21
Why does the PUSH KEY CLEAR and POP KEY not work? I thought that's what they were for? To clear the last ON KEY LABEL commands in the stack and then pull them back.

>Jay,
>
>ON KEY LABEL is an intercommand interrupt as you are finding out. You need to reset the ON KEY LABELS to be nothing so they don;t interrupt your running code as in;
>
>
>ON KEYT LABEL F2 *
>
>
>I am afraid that you will need to do this for all of the OKLs in effect and then reset them back when your code is finished. This is why I strongly encourage NOT using OKLs unless you need an intercommand interrupt. Use Key Press events or menus that you never show with hot keys (menus do not interrupt running code).
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform