Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access menu in TopLevel form
Message
De
31/08/2005 10:55:39
 
 
À
31/08/2005 10:36:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
01045490
Message ID:
01045502
Vues:
26
This message has been marked as the solution to the initial question of the thread.
>Hi,
>
>I need to Enable/Disable the menu bar. I know that I can do this with this commands:
>
>SET SKIP OF MENU _MSysMenu .T. && DisEnable
>SET SKIP OF MENU _MSysMenu .F. &&    Enable
>
>
>But it make changes in the VFP Screen menu and my menu works in a TopLevel form.
>
>So when I execute SET SKIP OF MENU _MSysMenu .T. it disable the VFP Screen menu and not disable my menu in my TopLevel form.

Hi Geraldo,

_MSysMenu is the menu name for _VFP not for your top level menu. You have to know the name of your menu. So if you call your top menu like this:
Do MyTopMenu.mpr with ThisForm, 'mnuTopLevel'
Then disable it this way:
Set skip of menu mnuTopLevel .T.
HTH
Herman
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform