Knowledge Base

BUG: SKIP FOR Does Not Disable Menu Pad

Article ID: 114274

Article Last Modified on 10/15/2003


APPLIES TO


This article was previously published under Q114274

SYMPTOMS

The SKIP FOR option in the Menu Builder will not disable a menu bar pad when the condition evaluates to TRUE. This behavior is the same for the command SET SKIP OF PAD <pad name> OF _msysmenu.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

MORE INFORMATION

Steps to Reproduce Problem

  1. Create a quick menu.
  2. Open the File Prompt Options and add a SKIP FOR x expression.
  3. Generate the menu.
  4. In the Command window, type the following commands:

    x = .f.
    DO quickmenu.mpr

  5. The File menu is enabled and works as expected.
  6. In the Command window, type x = .t..
  7. The File menu is disabled but isn't dimmed (gray).
NOTE: The above steps will correctly dim the menu pad in FoxPro for MS-DOS and FoxPro for Windows.

Additional query words: unavailable grey

Keywords: kbbug kbprogramming KB114274