Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cut, Copy and Paste functions
Message
 
À
22/07/1998 09:24:20
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00119820
Message ID:
00120184
Vues:
21
>No none of the items were disabled on the menu even when the clipboard was empty.
>
>>>That is what I did and for some did it doesn't work.
>>>
>>
>>Jim,
>>
>>What happened? Were the items disabled in the menu or what?

Jim,

I just made a form with two textboxes. I created a short cut menu with the menu designer that had the three pads for cut copy and paste wusing _med_cut, _med_copy and _med_paste. I called the menu from the rightclick of each textbox.

I ran the form, typed ABC into the first textbox and highlighted with the mouse. I right clicked and selected copy, then clicked in the other textbox and right clicked and chose paste. The text was copied and pasted.

Maybe you should try the menu in a simpler form before you put it in the complex one. The only thing I can think of 9s that there is no text selected when you choose cut or copy.

BTW, The menu items seem to always be enabled, so you may need to use the skip for to disable them when _cliptext == "".
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform