Last week, I started a thread about the PRMPAD not returning the string with the hot key syntax anymore but returning only the string.
Some people mentioned me that they've found that as well since Visual FoxPro 5.
But, someone tested that in 3 and 5 and got the same result in both version by having only the string and not the hot key syntax included in the string.
Can someone test the following code and tell me if you see \<susan or susan as the return string in Visual FoxPro 3?
DEFINE PAD _msm_edit OF _MSYSMENU PROMPT "\<Edit" KEY ALT+E, ""
DEFINE PAD susan OF _MSYSMENU PROMPT "\<susan" KEY ALT+S, ""
ON PAD _msm_edit OF _MSYSMENU ACTIVATE POPUP _medit
ON PAD susan OF _MSYSMENU ACTIVATE POPUP sue2
*just so I can be sure the hot keys work
DEFINE POPUP _medit MARGIN RELATIVE SHADOW
DEFINE BAR _med_undo OF _medit PROMPT "\<Undo" KEY CTRL+Z, "Ctrl+Z" MESSAGE "Undoes the last command or action"
DEFINE BAR _med_redo OF _medit PROMPT "Re\<do" KEY CTRL+R, "Ctrl+R" MESSAGE "Repeats the last command or action"
DEFINE POPUP sue2 MARGIN RELATIVE SHADOW
DEFINE BAR 1 OF sue2 PROMPT "sue2"
DEFINE BAR 2 OF sue2 PROMPT "hello"
?prmpad("_msysmenu","susan")
?prmpad("_msysmenu","_medit")