Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Edit menu w/ righmouse?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00103298
Message ID:
00103343
Views:
20
Hey Steve,

>(I don't think C++ people have to code for that, do they?). I've leared to love right clicking on text boxes and so on and quickly copying/pasting text, etc. But it's such a drag when you can't do that in VFP (without coding for it).

Sounds like you know this already, so this'll be for the lurkers out there.

You can build shortcut menus with the Menu Designer. Just select shortcut when you're prompted as you build a new menu. Go ahead and set up the prompts as usual. Your first prompt could be Undo with a Bar # result and _med_undo as the code to run.

Add the following line to the Setup code for the Menu

PARAMETER oRef

Add the following line to the rightclick (or any even for that matter) for an object

DO [shortcut menu name here].mpr WITH THIS

Now whenever you right click on that object the shortcut menu will appear.

HTH somebody!
Jim Duffy
Microsoft MVP
INETA Speaker
TakeNote Technologies
Developer's Choice Award Winner for Best Training Company
Specializing in VB.NET, ASP.NET, VFP, and SQL Server Training and Development
Previous
Reply
Map
View

Click here to load this message in the networking platform