>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.
I don't know why they don't work. I don't use OKL unless I purposefully need an intercommand interrupt so I don't run into using PUSH KEY and POP KEY at all. For key shortcuts I usually use a menu defined but not displayed and assign the keys to the menu bars. Then I can use set skip to turn the individual keys on or off as needed and the menu is only available when VFP is in a user input mode automatically so there is no need to turn the keys on and off as code blocks execute, the menu isn't available while code is running.