Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable automatic key processing
Message
 
 
À
23/11/2006 10:09:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01172059
Message ID:
01172154
Vues:
22
Did you try to capture them in Treeview 's Keypress event?

>I have a top level form and menu in it. Some of menu items have associated key labels. If I press such keystroke it always automatically executes a command associated with menu item. If there are no menu item with such keystroke and it is not processed by active object it produces default sound like as I do something wrong.
>
>But I have Copy, Paste and other menu items which actually work with treeview elements and I don't want them to execute associated commands if I press Ctrl+X in a textbox for example. Even if I remove KEY clause from menu bar definitions it still produces default sound despite that keystrokes are processed by event handler.
>
>Thus, the question is how I can disable automatic key processing in top level form menu?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform