Microsoft KB Archive/147843

= PRB: Cannot Use the Keyboard to Navigate Between Controls =

Article ID: 147843

Article Last Modified on 2/8/2000

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0b for Macintosh

-



This article was previously published under Q147843



SYMPTOMS
In a form or in a dialog, you can't move the focus to a command button by pressing the TAB key. The only way to move the focus to the control is to click it. You'll see this behavior in all of these situations:


 * You cannot press the TAB key to move among controls in Wizard dialogs.
 * Pressing the TAB key does not move the focus to controls in the GETFILE, PUTFILE, and other dialogs.
 * The TabStop property setting has no effect on whether or not a user can press the TAB key to navigate in a form.



CAUSE
This is a feature specific to Macintosh interfaces. Command buttons do not get the focus when you press the TAB key to move to them.



WORKAROUND
You can modify this behavior by using the SET KEYCOMP command. If you use the syntax SET KEYCOMP TO WINDOWS, you can navigate in the form, and the default button in a dialog box is selected when you press the ENTER key. However, the KEYCOMP setting does not affect the GETFILE and the PUTFILE dialogs.



STATUS
This behavior is by design.



Steps to Reproduce Behavior

 * 1) On the File menu, click New Form to start a new form in the Form Designer.
 * 2) Place two command buttons on the form.
 * 3) Save the form, and run it. Press the TAB key. Nothing happens.
 * 4) In the Command window, type SET KEYCOMP TO WINDOWS . Click the form to set the focus to it, and press the TAB key. The focus moves to the second command button.

Additional query words: VFoxMac Xplatform cross platorm

Keywords: KB147843

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.