FIX: DEFINE BAR SKIP FOR Clause Does Not Disable Option

Last reviewed: October 14, 1997
Article ID: Q88608
2.00 MS-DOS kbprg kbfixlist kbbuglist

The information in this article applies to:

  • Microsoft FoxPro for MS-DOS, version 2.0

SYMPTOMS

In some early versions (before 9/26/91) of Microsoft FoxPro version 2.0 for MS-DOS, using a SKIP FOR clause in the DEFINE BAR command of a menu system does not disable keyboard shortcut keys.

CAUSE

The DEFINE BAR command is used in conjunction with the DEFINE POPUP command to create popup menus. The DEFINE POPUP command creates a popup window and assigns it a name. A sequence of DEFINE BAR commands places menu options into the popup window.

An application can disable an option in a popup window based on a logical condition. When the SKIP FOR <expL> option is specified, FoxPro evaluates the logical condition <expL> and changes the menu option accordingly. When <expL> evaluates to true (.T.), the option is disabled and it cannot be selected or chosen. When <expL> evaluates the false (.F.), the option is enabled.

STATUS

Microsoft has confirmed this to be a problem in Microsoft FoxPro version 2.0 for MS-DOS releases prior to September 26, 1991. This problem was corrected in the Microsoft FoxPro version 2.0 for MS-DOS release dated September 26, 1991.


Additional reference words: FoxDos buglist2.00 fixlist2.00 2.00 pop-up
KBCategory: kbprg kbfixlist kbbuglist
KBSubcategory:
Solution Type : kbfix


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: October 14, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.