Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PRMPAD part II
Message
 
À
13/02/1997 13:20:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
Divers
Thread ID:
00020411
Message ID:
00020414
Vues:
47
>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 \>
>DEFINE PAD _msm_edit OF _MSYSMENU PROMPT "\>DEFINE PAD susan OF _MSYSMENU PROMPT "\>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 "\>DEFINE BAR _med_redo OF _medit PROMPT "Re\>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")

Hi Mike
Your code return "susan" & "Edit"

Hope this help
Rocky Boy
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform