• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 414
  • Last Modified:

DIsabled TextBox ForeColor

Hi Experts
I would like to change the forecolor of a disabled TextBox text.

0
b001
Asked:
b001
2 Solutions
 
Éric MoreauSenior .Net ConsultantCommented:
0
 
jmcmunnCommented:

Looks like the common solution is to use an inherited control, and override the OnPaint.

Here is a useful discussion on the topic:
http://stackoverflow.com/questions/276179/how-to-change-the-font-color-of-a-disabled-textbox
0

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now