Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cut and paste with Modal Windows...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00024691
Message ID:
00024736
Vues:
36
>I want to use the “ON KEY LABEL” command to call the cut and paste functions when I use a panel modal (modal window).
>
>What can we do for that?

You dont have to use on key label ...

add this code to your menu:

* si on enleve le menu édition
* cette suite de commandes rend les raccourcis clavier
* disponnibles pour les opérations courantes d'édition
*
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
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform