Profile Picture

Changing inactive NMenuBar Item color

Posted By Andrew Ad 12 Years Ago
Author
Message
Andrew Ad
Posted 12 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 8, Visits: 1
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.

Attachments
pic.png (238 views, 2.00 KB)
Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009
Hello Andrew,

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

nCommand1.Palette.ControlText = Color.Red;

Best Regards,
Nevron Support Team



Andrew Ad
Posted 12 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 8, Visits: 1
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?

Attachments
Untitled1.png (244 views, 3.00 KB)


Similar Topics


Reading This Topic