Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cut/Copy/Paste in form with no menu
Message
 
 
À
26/07/1998 20:55:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00120877
Message ID:
00121540
Vues:
28
>>Hi David,
>>
>> SET SYSMENU TO
>>DEFINE POPUP _medit MARGIN RELATIVE SHADOW COLOR SCHEME 4
>>DEFINE BAR _med_cut OF _medit PROMPT "Cu\>> KEY CTRL+X, "Ctrl+X" ;
>> MESSAGE "Removes the selection and places it onto the Clipboard"
>>DEFINE BAR _med_copy OF _medit PROMPT "\>> KEY CTRL+C, "Ctrl+C" ;
>> MESSAGE "Copies the selection onto the Clipboard"
>>DEFINE BAR _med_paste OF _medit PROMPT "\>> KEY CTRL+V, "Ctrl+V" ;
>> MESSAGE "Pastes the contents of the Clipboard"
>> ENDPROC
>>
>>
>Hi again John.
>Well I ran that code - just as above and it doesn't work at all. I'm running VFP 5.0a with default settings.
>What can be wrong?
>Dave

What may be happening is that this message forum is stripping out some of the code that John sent you because it includes less-than and greater than signs.

Create a menu, do Quick Menu, build the menu, and then cut and paste the code from the MPR that looks the code above, and then remove the PROMPT and MESSAGE items from the DEFINE POPUP.
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform