Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menu shortcuts with a modal form
Message
De
12/10/1999 16:16:18
 
 
À
12/10/1999 13:18:46
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00275414
Message ID:
00275603
Vues:
20
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform