Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Right Click Function
Message
From
17/05/2003 07:50:34
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00789622
Message ID:
00789648
Views:
21
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform