Click here to Skip to main content
15,890,670 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
When a ToolStripItem (or a Control) is disabled, among other UI changes is that it's Text is greyed out (everybody knows that) and changes to ForeColor are ignored.
I would very much like to be able to change the ForeColor, even when Enabled = false.
Thank you.
Toli
Posted

Did you try to use the example located here[^]?
 
Share this answer
 
You need to override one the event responsible for painting the toolstrip items. I don't know precisely which one, but it shouldn't be that hard for you to figure it out.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900