|
home / faq / faq 16
Frequently Asked Question #16
Question: Many of my menu items have a gray background color when
the mouse rolls over them. This even happens after I specifically set
BGColorOver to a different color. How can I get rid of the gray rollovers?
Answer: HierMenus 6 introduced, for the first time,
selected colors, that is, color sets that are applied to menu items when they
are selected. A menu item is said to be selected if it contains a child
menu and that child menu is currently visible. Selected colors allow you to
specify a third set of colors to menu items (both foreground and background) in addition
to the existing "on" and "off" color schemes. It is this selected color that you are
seeing on your menu item rollovers, which happens to default to gray.
You can control the selected colors of menus via the following two parameters:
FontColorSelected
BGColorSelected
In addition, if you are using class-based menu item color assignments, separate
color classes can be assigned to the selected state of menu items. See:
ItemClassSelected
ButtonClassSelected
Finally, if you wish to remove the selected color behavior entirely, simply set the
selected colors to be identical to the over colors in your configuration file:
FontColor:"white",
FontColorOver:"blue",
BGColor:"blue",
BGColorOver:"white",
FontColorSelected:"blue",
BGColorSelected:"white",
|