Changing colors of numerous disabled controls
I read the post about how to change foreground color of disabled control. I have a similar problem in that the default colors for disabled controls are hard to read. However, I have a lot of controls to work with. I have set up my app with tab pages and depending on the security settings of the user, I set Enabled to False for specific tab pages. They are allowed to view the pages, just not change the data them. Each tab page has anywhere from 25-40 controls (very data intensive app). To have to set each control to readonly or do anything to it individually would be a royal pain. The tab page doesn't seem to have a Readonly property, so I can't go that route. Anyone have any ideas? Thanks for your help!
|