Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ON KEY LABEL question
Message
 
 
À
14/02/2006 12:49:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01096235
Message ID:
01096238
Vues:
13
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform