Changing inactive NMenuBar Item color


Author
Message
Andrew Ad
Andrew Ad
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
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 (271 views, 2.00 KB)
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hello Andrew,

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

nCommand1.Palette.ControlText = Color.Red;

Best Regards,
Nevron Support Team


Andrew Ad
Andrew Ad
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
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 (282 views, 3.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search