Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cut, Copy and Paste functions
Message
De
22/07/1998 12:03:22
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:
00120230
Vues:
21
Jim

I was working on this problem more and I got the paste and copy menu items to be disabled. However I cannot figure out a way to make the cut disabled.

Thanks for the help,

Jim



>>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 == "".
Thanks

Jim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform