Microsoft KB Archive/182039

= How To Use MouseKeys Instead of the Mouse in Visual FoxPro =

Article ID: 182039

Article Last Modified on 7/13/2004

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft Visual FoxPro 3.0b Standard Edition
 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a
 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q182039



SUMMARY
Users or developers may request a method to substitute a keystroke for a mouse action. Windows 95 and Windows NT 4.0 both use the MouseKeys feature as part of the Accessibility option. This article explains how to modify the operating system to use a keystroke in place of a mouse action.



MORE INFORMATION
Follow these steps to enable the keystrokes:
 * 1) Open Control Panel and click Accessibility Options.
 * 2) In the Accessiblity Properties dialog box click the Mouse tab.
 * 3) Select Use MouseKeys and then click Settings.
 * 4) In the Settings for MouseKeys dialog box select Use Shortcut. Select ON for the "Use MouseKey when NumLock is:" option button.
 * 5) Select the "Show MouseKey status on Screen" check box.

The MouseKeys option can be turned ON or OFF using the default short cut keys below:



NOTE: The mouse cursor must be placed over an object, such as a command button, for these keystrokes to function. For example, if a command button has focus and the cursor is not over the command button, the keystrokes will not activate the button. In addition, you must use the numeric keypad keys for all mouse key functions. Using the Arrow keys, Insert, or Delete keys produces inconsistent results.

Some of the MouseKey options addressed in this accessibility feature are listed below:   Begin Drag.................. Insert(INS) Double Click................ +  Drop After Drag............. Delete (DEL) Large Movement.............. CTRL+ Movement.................... Any key pad number except 5 Select Both Mouse Buttons.. *  Select Left Mouse Button.... /   Select Right Mouse Button... -  Single Click................ 5  Single Pixel Moves.......... Shift + key pad number key

