Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shortcut Menu for Cut, Copy and Paste
Message
De
17/04/2000 16:29:59
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00356874
Message ID:
00360618
Vues:
10
The hotkeys will only work when the menu is active (when you click the right mouse button), which makes them pretty useless on popup menus. If you want hotkeys I would recommend you put the cut, copy, etc. on an Edit menu (or some other menu of your choosing) on your main menu.


>Good Morning,
>
>I have a shortcut menu (edtshort.mnx) which has four prompts: cut, copy paste and clear. For each, the result is "Bar #". For the commands, I am using _med_cut, _med_copy, _med_paste and _med_clear from the main VFP menu system.
>
>In the options, I have the key label and key text set to the obvious Ctrl+C, Ctrl+V, etc.
>
>In the Right Click event of my base classes, I inserted this code:
>
>
DO edtshort.mpr WITH THIS
>
>While the right click and select works to cut, copy, etc., using the Ctrl+C key combination does not. How can I allow the user to use the keyboard for this? I thought that defining the key combination in the menu would handle it, but obviously I was incorrect :)
>
>TIA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform