FIX: DEFINE BAR SKIP FOR Clause Does Not Disable Option

ID: Q88608

2.00 MS-DOS kbprg kbfixlist kbbuglist

The information in this article applies to:

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

Last Reviewed: October 14, 1997