Microsoft KB Archive/130657

= How To Change the Font of Menu Items =

Article ID: 130657

Article Last Modified on 6/29/2004

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q130657



SUMMARY
To change the font for a menu item (for example, the Open command under File), add a SKIP FOR clause with the appropriate font information. The font for an menu pad (for example, File) cannot be changed through the Menu Designer.



Step-by-Step Procedure
To change the font of a menu item, follow these steps:

 Open the menu designer, and select Quick Menu under Menu. In the Prompt column, click a menu item (for example, Open) under File. Press the Options button to display the Prompt Options dialog box. Select the Skip For box to display the Expression Builder. In the Skip For box, type the following:

.f. FONT "Courier New", 14 style "BI"

 Choose OK twice to return to the Menu Designer. Choose Generate under Menu, and run the menu.</li></ol>

Now the Open choice in the File menu is much larger and displays bold italic.

WARNING: This function is undocumented, so it may be changed or omitted without notice from future releases of Visual FoxPro.

Keywords: kbhowto KB130657

-

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

© Microsoft Corporation. All rights reserved.