>>The only thing I can think of is the TOOLS is not the name of the popup. In the menu designer goto the tools submenu and click on submenu to drill into the tools menu. Now on the VFP main menu goto View->Menu Options does the name in there say Tools? That should be the name of the popup.
>
>Ok, that was it. But, what is the use of the Pad Name in the Menu Item Designer then?
The pad name is the name of the PAD in the menu the popup is the submenu name
DEFINE PAD padname OF _MSYSMENU PROMPT "Tools" COLOR SCHEME 3 ;
KEY ALT+A, ""
ON PAD padname OF _MSYSMENU ACTIVATE POPUP tools
DEFINE POPUP tools MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF tools PROMPT "Debug"
If you know the pad name you could use RELEASE PAD and some other VFP commands.
Charles
"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers