Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shortcut Menu
Message
From
17/11/2003 06:24:41
 
 
To
17/11/2003 03:47:33
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
Miscellaneous
Thread ID:
00850563
Message ID:
00850575
Views:
20
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
Previous
Reply
Map
View

Click here to load this message in the networking platform