Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PRMPAD part II
Message
From
13/02/1997 13:20:09
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
PRMPAD part II
Miscellaneous
Thread ID:
00020411
Message ID:
00020411
Views:
88
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")
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform