Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why shortcut menu items are always enabled?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01131421
Message ID:
01131654
Vues:
14
>>
>
>It works correctly for me in the following code
>DEFINE POPUP medit SHORTCUT RELATIVE FROM MROW(),MCOL()
>DEFINE BAR _med_sp100 OF medit PROMPT "\-" ;
>	PICTRES _med_sp100
>DEFINE BAR _med_cut OF medit PROMPT "Cu\<t" ;
>	KEY CTRL+X, "Ctrl+X" ;
>	PICTRES _med_cut ;
>	MESSAGE "Removes the selection and places it onto the Clipboard"
>DEFINE BAR _med_copy OF medit PROMPT "\<Copy" ;
>	KEY CTRL+C, "Ctrl+C" ;
>	PICTRES _med_copy ;
>	MESSAGE "Copies the selection onto the Clipboard"
>DEFINE BAR _med_paste OF medit PROMPT "\<Paste" ;
>	KEY CTRL+V, "Ctrl+V" ;
>	PICTRES _med_paste ;
>	MESSAGE "Pastes the contents of the Clipboard"
>
>ACTIVATE POPUP medit
>
Sergey,

If I may ask you something. When you are saying the above code works for you, you have Copy and Cut items grayed when no text is selected?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform