Microsoft KB Archive/122046

= BUG: Custom menu option is disabled on the Edit menu =

Article ID: 122046

Article Last Modified on 2/11/2005

-

APPLIES TO


 * Microsoft FoxPro 2.6a Professional Edition for Macintosh
 * Microsoft Visual FoxPro 3.0b for Macintosh

-



This article was previously published under Q122046



SYMPTOMS
A custom menu option added to the Edit menu remains disabled after you close the Expression Builder dialog box in Report Writer.



WORKAROUND
To work around this problem, place the MyPref menu option on a menu other than Edit. For example, you can create a new menu called Options, and then place the MyPref menu option on it.



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



Steps to Reproduce Problem
 Start FoxPro. In the Command window, type CREATE MENU test . From the Menu menu, choose Quick Menu. Choose the Edit button for the \ Choose the Insert button, and then type \ From the Result list box, select Command. In the text box to the right of Command, type the following:

WAIT WINDOW "MyPref"

</li> From the Program menu, choose Generate. Generate the output file, using the default filename of TEST.MPR. Close the Menu Builder.</li> Run TEST.MPR.

Note that the MyPref menu option is enabled.</li> From the File menu, choose New. When prompted for the file type, select the Report radio button, and then choose the New button.</li> In the Report Writer, click the Field tool and then place a field in the Detail band.</li> In the Report Expression dialog box, choose the Expression button to open the Expression Builder dialog box.</li> While the Expression Builder dialog box is open, choose the Edit menu.

Note that all menu options except Preferences are disabled. This is normal behavior.</li> Choose OK or Cancel to return to the Report Layout window.</li> Choose the Edit menu.

Note that the MyPref menu option is still disabled.</li> Quit Report Writer.</li> Choose the Edit menu.</li></ol>

The MyPref menu option is still disabled.

NOTE: The MyPref menu option is reenabled as expected when these steps are performed in FoxPro for Windows.

Additional query words: VFoxMac FoxMac buglist2.50b buglist2.50c buglist2.60a 2.50b 2.50c menu bar popup pad grayed greyed unavailable

Keywords: KB122046

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.