Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shortcut Menu
Message
De
17/11/2003 06:24:41
 
 
À
17/11/2003 03:47:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
Divers
Thread ID:
00850563
Message ID:
00850575
Vues:
18
Hi

>i have a shortcut menu which gets activated when the user clicks the right mouse button. In this shortcut menu, i have the following options viz. CUT, COPY, PASTE, UNDO, REDO.
>
>I want the options CUT, COPY, PASTE, UNDO and REDO to be enabled only when the program is in the ADD/EDIT/MODIFY mode in my software. Otherwise, these options should be disabled at all times.
>
>How can accomplish this ?

Check the SKIP FOR clause in the Menu. This will allow you to enable/disable options depending on the state of some external variable (i.e. your mode identifier). Do make sure that it is in scope for the menu though (i.e. make it Private at least)
----
Regards
Andy Kramek
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform