Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Popup menu
Message
 
 
À
02/02/2004 09:17:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00872915
Message ID:
00872932
Vues:
15
Hi, Kurt.

>Hi i've created a program that uses a popup. I activate this popup with the 'f9' fucntion key. But i want to do more. I want that once the popup is activate on screen that the user can make some selections on it with other function keys.
>
>There starts my problem. When i have displayed my menu i try to capture the keypress of the user using the inkey() command so i can know what he wants to do.
>
>But the program doesn't react to the different keypresses. It only reacts to the enter, spacebar and escape.
>
>Does somebody knows how i can make the program reacts to the keypress once the menu is displayed on the screen ?

You should use the Pop-up shortcut (in the menu designer), not inkey().

Hope this helps,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform