Information générale
Catégorie:
Gestionnaire de menu & Menus
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement