>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--