Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Right-click event for mouse
Message
De
06/01/1999 13:52:29
 
 
À
06/01/1999 08:56:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00173097
Message ID:
00173257
Vues:
34
>I am trying to create a cut/copy/paste popup as a right-click event for a text field on a form. Could anyone help or point me in the right direction or suggest a Knowledge Base article? Thanks for any help you might give.

Put something like this in the rightclick event of your textbox:

DEFINE POPUP SHORTCUT SHORTCUT FROM MROW(), MCOL()
DEFINE BAR 1 OF SHORTCUT PROMPT 'Cut'
DEFINE BAR 2 OF SHORTCUT PROMPT 'Copy'
DEFINE BAR 3 OF SHORTCUT PROMPT 'Paste'
DEFINE BAR 4 OF SHORTCUT PROMPT 'Clear'
ON SELECTION BAR 1 OF SHORTCUT SYS(1500, '_MED_CUT', '_MEDIT')
ON SELECTION BAR 2 OF SHORTCUT SYS(1500, '_MED_COPY', '_MEDIT')
ON SELECTION BAR 3 OF SHORTCUT SYS(1500, '_MED_PASTE', '_MEDIT')
ON SELECTION BAR 4 OF SHORTCUT SYS(1500, '_MED_CLEAR', '_MEDIT')
ACTIVATE POPUP SHORTCUT
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform