ForeColorDisabled

Color of the text when a menu item is disabled. Valid value is a web or system color name, or a hexadecimal number (prefixed by a hash mark). If not specified, the Windows system default is used.

This property can only be set in the .ini file.

[application]
menu=umenu(forecolordisabled=Color)

For more information, see Standard Colors .

Description

In some contexts, it may not be possible to select a menu item. For example, if no modifications have been made, the Save option could be disabled. To make this clear to the user, you can specify a different text color for the menu item using the ForeColorDisabled property.

Setting ForeColorDisabled

The following properties, set in the usys.ini file, specify the text colors to use for menu items:

[application]
menu=umenu(forecolor=black;forecolordsiabled=grey;forecolorselect=green)

Applies To

Menu Objects