Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Menu shortcuts with a modal form
Message
From
12/10/1999 16:16:18
 
 
To
12/10/1999 13:18:46
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00275414
Message ID:
00275603
Views:
21
>>>I would like to enable my menu shortcuts (i.e.-Ctrl+S to Save) on my modal forms as well. I tried trapping them in the KeyPress of the form (with KeyPreview set to true) but that didn't work. The KeyPress event didn't trigger for these keys. How can I accomplish this?
>>>
>>>Thanks!
>>>Elyse
>>
>>Look at the KB article on my web site that discusses menu handling.
>
>I looked at article #KB0007. Is this the right one? I don't think it answers my question. What I want to know is, if my user hits CTRL+S, how can I call my Save method if the menu is disabled?
>
>Thanks!

Define another menu with the same functionality. You don't need to display the menu, just have it defined in memory.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform