Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Suppressing User Input
Message
From
25/11/2008 08:25:41
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01363890
Message ID:
01363951
Views:
23
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).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform