Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Merging menus
Message
From
14/07/2004 08:54:45
 
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
Miscellaneous
Thread ID:
00923941
Message ID:
00924150
Views:
21
>>Is there any way to merge two separate menus into one? For example, I have a simple shortcut menu with cut, copy, and paste. Can I create another shortcut menu specific to a form or object and merge it with the CCP shortcut menu so I don't have to maintain identical "code" in separate places. Also, could the specific menu be inserted somewhere in the main menu when the associated form is activated?
>>
>
>Hi Don,
>
>A simple shortcut menu is just a bunch of DEFINE BAR and ON BAR command. You can use IF or DO CASE statement to run only once you need based on parameter passed to the program that includes shortcut menu.
>You can specify how your form menu behaves relatively to the current menu using View -> General Options -> Location in Menu Designer. After that, you cna PUSH MENU _SYSMENU in the form Init, call forms menu and POP MENU _SYSMENU in the Destroy of the form.

Are you saying to edit the code that the menu designer creates to add the IF or DO CASE?

Thanks again!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform