Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Right Click Function
Message
De
17/05/2003 07:50:34
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00789622
Message ID:
00789648
Vues:
20
>Is there anyway to have the Right Mouse click act the same way as STANDARD Windows (copy, cut, paste, ..) in my VFP's EditBox or TextBoxes ?

Yes, you can create a popup menu, and associate it with the RightClick() event of a textbox, for instance.

>Do I have to actualy write all the code necessary myself?, or is there a way to simply envoke Windows behavior ?

There is no quick switch which you can just turn on. You will have to associate the popup menu with your textbox classes, for instance.

However, the code for "Copy" etc. is a single line, since this part is defined as a built-in behavior for menus (create a quick menu, to see which is the code required).

HTH,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform