How to Right-Click by Using the Keyboard in Visual FoxPro
Article ID: 140157
Article Last Modified on 2/10/2000
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
This article was previously published under Q140157
SUMMARY
There are several mouse enhancement utilities for the Windows environment
that allow the right mouse button to be reassigned to another function,
such as a double-click event. While enabling this feature may greatly
improve productivity, it also prevents the right mouse button from invoking
the context menus found throughout the Visual FoxPro user interface.
Although one solution is to purchase a three button mouse and assign the
double-click functionality to the middle button, you can avoid this by
using the ON KEY LABEL and MOUSE commands. The following command, placed in
Vfpstart.prg program or at the beginning of an application defines a
specific keyboard combination to mimic a right-click in order to bring up
the appropriate menu for each object.
Additional query words: VFoxWin redefine alternate
Keywords: KB140157