Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Merging menus
Message
De
14/07/2004 08:54:45
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
Divers
Thread ID:
00923941
Message ID:
00924150
Vues:
20
>>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!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform