PRB: Hot Keys Don't Work When Selection Cursor Is in File List

Last reviewed: April 18, 1995
Article ID: Q114121
The information in this article applies to:
  • Microsoft FoxPro for MS-DOS, version 2.6

SYMPTOMS

When the selection cursor is in the file list (that is, the file list has the focus), the hot keys do not work.

WORKAROUND

Press TAB to move the selection cursor out of the file list.

STATUS

Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

The hot keys (also known as access keys) are normally activated by pressing the key that matches the highlighted letter in a button. For example, the Add button is activated by pressing the A key. When the focus is in the file list, however, pressing a key moves the selection cursor to a file whose first letter matches the key pressed, not to the matching hot key object.

NOTE: Although this behavior can be reproduced in FoxPro for Windows, this is not a problem because hot keys are chosen in a Windows product by pressing the ALT+<key> key combination. Therefore, even if the selection cursor is in the file list, pressing ALT+A chooses the Add button.

Steps to Reproduce Problem

  1. If the Catalog Manager is not displayed, choose Catalog Manager from the File menu.

  2. If prompted to select a catalog, choose New.

    If a catalog automatically opens, choose New Catalog from the File menu.

  3. Save the catalog as TEST.FPC.

  4. Select the Table tab. Choose Add.

  5. Select CUSTOMER.DBF from the TUTORIAL subdirectory in the main FoxPro directory. Choose Add.

  6. Select Customer in the Table file list. The selection cursor should highlight the word "Customer."

  7. Press the U key. Note that nothing happens (the Use button is not chosen).

NOTE: To work around this behavior, press the TAB key to leave the file list, and then press the U key. This chooses the Use button as expected.


Additional reference words: FoxDos 2.60 hotkey shortcut short cut
KBCategory: kbprg kbprb
KBSubcategory:


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 18, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.