Changing inactive NMenuBar Item color


https://www.nevron.com/Forum/Topic7114.aspx
Print Topic | Close Window

By Andrew Ad - 12 Years Ago
Hello
I want to change color of inactive menu item(e.g.). I tried to change colors by editing _menuBar.Palette. properties but none seems related to color of inactive components. What color property related to changing color of inactive menu items.
Thanks.
By Nevron Support - 12 Years Ago
Hello Andrew,

Palette.ControlText color should change the color of the text.

nCommand1.Palette.ControlText = Color.Red;
By Andrew Ad - 12 Years Ago
Thank you for quick response.
I want to change color of all inactive(!) components(main menu was just an example). m_MenuBar.Palette.ControlText changes only color of active menu items. Is there any other property to change color of inactive component?