Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MENU TO copy+paste
Message
De
08/03/2006 11:48:38
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Versions des environnements
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01102470
Message ID:
01102484
Vues:
21
This message has been marked as the solution to the initial question of the thread.
>I have problems with the general option of VFP to copy and paste information.
>I create a main menu, with the options COPY ctrl+c and PASTE ctrl+v,
>
>I define a WINDOW and I put some traditional @ SAY and @ GET information in the window.
>
>When the user is located in a information data (Ex. SSN-SOCIAL SECURITY NUMBER), and try to COPY de information with CTRL+C, the information dissapired from the @ GET.
>And when try to put in other camp @ GET, dont work.
>
>Whereas, when I go to other windows application (Ex. NOTEPAD), I press CTRL+V and paste the information.
>
>Somebody can help me?
>
>Thanks a lot!

PROCEDURE shortcut
DEFINE POPUP edit FROM 0,0 RELATIVE
DEFINE BAR _med_cut OF edit PROMPT "Cut" ;
KEY CTRL+X
DEFINE BAR _med_copy OF edit PROMPT "Copy" ;
KEY CTRL+C
DEFINE BAR _med_paste OF edit PROMPT "Paste" ;
KEY CTRL+V
DEFINE BAR _med_slcta OF edit PROMPT "Select \ KEY CTRL+A
DEFINE BAR _med_goto OF edit PROMPT "Goto \ KEY ALT+E
DEFINE BAR _med_find OF edit PROMPT "\ KEY CTRL+F
DEFINE BAR _med_finda OF edit PROMPT "Find A\ KEY CTRL+G
DEFINE BAR _med_repl OF edit PROMPT "R\ KEY CTRL+E
RETURN

and somewhere in your main prog...DO shortcut

A+
jml
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform