Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable automatic key processing
Message
 
 
To
23/11/2006 10:09:47
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01172059
Message ID:
01172154
Views:
21
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform