PRB: Cannot Use the Keyboard to Navigate Between Controls

ID: Q147843

3.00b MACINTOSH kbui kbprb

The information in this article applies to:

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:

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.

MORE INFORMATION

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.

6. 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 reference words: 3.00b VFoxMac Xplatform cross platorm KBCategory: kbui kbprb KBSubcategory: FxprgGeneral
Keywords          : FxprgGeneral 
Version           : 3.00b
Platform          : MACINTOSH

Last Reviewed: June 1, 1996