Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Before I Hack - How to Change Main Menu by App
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00664891
Message ID:
00666774
Vues:
13
Gary,

Have you tried to use the cSkipFor property? This can easily be set to call a method, This.allowSomeOption() to enable/disable a menu option. You could also set the visible property and just have your menus dynamically change when you switch between modules.

Kind Regards,

Mat

>I have a common MM project that acts as the manager of my accounting app of several module apps (GL,AP,etc). I will need to display a different main menu as each module is selected to be the current application the user wants to work in. I have studied the framework goApp.DO() method and saw where it is calling showmenu(). I could add a parameter, to the call so that if a parameter is passed, It could be an abstractfactory key to load a different menu after removing the current one. I thought I would ask, however, if there isn't a more "approved" method for changing the entire menu. I think it should be in here somewhere but I can't find any mention of how to do it.
>
>Does anyone have a solution they are using that works well?
>
>Gary Pike.
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform