Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Menu() return empty string
Message
 
 
To
11/03/2002 22:48:24
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00631323
Message ID:
00631646
Views:
23
>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--
Previous
Reply
Map
View

Click here to load this message in the networking platform