Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ON KEY LABEL question
Message
 
 
To
14/02/2006 12:49:09
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01096235
Message ID:
01096238
Views:
14
The PUSH KEY has no effect on menus.

>I have this code snippet that doesn't seem to work. There seems to be something very obvious that I'm missing here.
>
>
>* note: The F12 assignment is in the startup program using the DEFINE BAR command,
>* which can be several levels up in the call stack.
>* -- codes omitted for brevity
>define bar 1 of SomePopup prompt SomeMenuPrompt key F12 && executes SomeMethod()
>
>* remove the key assignment in the current call-stack.
>PUSH KEY && CLEAR <- using either does not work
>
>* this seems to be in a wait state or modal even though the menus are accessible
>* because the SET STEP ON does not fire.
>MODIFY COMMAND SomeFile.text
>
>* restore the key assignment from the previous call-stack.
>POP KEY
>
>* fires after closing the file by clicking on the X button.
>SET STEP ON
>
>
>My problem is, when the file: SomeFile.txt is still open and I press F12, SomeMethod() fires. Why is that so?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform