Knowledge Base

How To Change the Font of Menu Items

Article ID: 130657

Article Last Modified on 6/29/2004


APPLIES TO


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.

MORE INFORMATION

Step-by-Step Procedure

To change the font of a menu item, follow these steps:

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

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

  6. Choose OK twice to return to the Menu Designer.
  7. Choose Generate under Menu, and run the menu.
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