4
Contributors
6
Replies
19
Views
3 Years
Discussion Span
Last Post by Centorpe
0

This happens because when controls are disabled they are forced to look "faded".

It's built inside of Windows Controls by default. It's not your application's fault.

0

So is there a way that I can have a result of calculations in a textbox which is not 'faded'?

0

Yes, there is a way.
Instead of using the 'enabled' property, use the read-only property. Read-only property removes support for users being able to type in the text box. You can however assign text by code.

0

And even if it is read only you can still set the background colour to anything you want. Or you could just use a label control.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.