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:
01131805
Vues:
18
>>I copied your code without changing into my RightMouse method of an editbox. But it still does not work. What I mean by "does not work" is that when I bring up the popup menu the Copy and Cut are enabled, even though no text is selected.
>
>You're correct. I retested the code and it doesn't work correctly with editbox or textbox.

Interesting that when I bring up a shortcut menu in Excel (with right mouse click) the Cut and Copy are always enabled, even if there is no text selected. So maybe this is a "standard" Windows application behaviour.
"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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform