Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access menu in TopLevel form
Message
De
31/08/2005 11:14:52
 
 
À
31/08/2005 11:07:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
01045490
Message ID:
01045519
Vues:
23
>>>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
>
>
>Thinks, Herman.
>
>Is the solution

You're welcome :-)
Herman
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform