Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menu() return empty string
Message
 
 
À
11/03/2002 22:48:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00631323
Message ID:
00631646
Vues:
22
>Hi,
>I try to use MENU() to get the active menu name. However, VFP return empty string even I have do mymenu.mpr. I try to get sample from help. And I found that, MENU() will return _MSYSMENU if I add this statement
>
>ON SELECTION MENU _MSYSMENU MESSAGEBOX(MENU())
>
>Why?
>How to solve it?
>Thank you

If you're using system menu than you know it's name (MSYSMENU) already. What do you expect Menu() to return?
I guess it returns empty string because the systen menu became active only when you use it.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform