The information in this article applies to:
- Microsoft FoxPro for Windows, versions 2.5x, 2.6x
- Microsoft FoxPro for MS-DOS, versions 2.5x, 2.6x
SYMPTOMS
A SKIP FOR condition on an option on the menu pad will not reenable itself
properly once it is disabled.
STATUS
Microsoft has confirmed this to be a problem in the products listed above.
We are researching this problem and will post new information here in the
Microsoft Knowledge Base as it becomes available.
WORKAROUND
This problem only occurs when the menu pad uses the default system menu
name.
For example, after following the instructions under "Steps to Reproduce
Problem" in the next section of this article, perform the following to
change the name of the "_msystem" menu pad:
- From the Menu Level list box, select Menu Bar.
- Select the Help prompt line, and then choose the Edit button.
- From Menu (in the main FoxPro menu bar), choose "_msystem Options."
- Generate the menu again.
MORE INFORMATION
Steps to Reproduce Problem
- Create a quick menu.
- On the quick menu File bar, change the Open prompt to read "x=.T.
DISABLE" (without the quotation marks) with a result of COMMAND
and "x=.T." (without the quotation marks).
- Change the Save prompt to read "x=.F. ENABLE" (without the
quotation marks) with a result of COMMAND and "x=.F." (without the
quotation marks).
- From the Menu menu, choose General Options. Under Menu Code,
select Setup, and choose OK.
- In the Setup window, type "x=.F." (without the quotation marks),
then close the window.
- On the quick menu Help (or System in FoxPro for MS-DOS) bar,
select the Calculator option. Choose Options and then select the
Skip For option. Type "x=.T." (without the quotation marks) in the
Expression Builder window and choose OK.
- Generate your menu as TEST.
- In the Command window, issue the following command.
DO test.mpr
The Calculator will be enabled.
- From the File menu, choose x=.T. DISABLE.
The Calculator will be disabled.
- From the File menu, choose x=.F. ENABLE.
The Calculator will not be reenabled.
- In the Command window, type:
x=.F.
The Calculator still will not be reenabled.
REFERENCES
"User's Guide," (Windows) page U12-15
"User's Guide," (MS-DOS) page U13-25
|