Raul Junc

Raul Junc

  • NA
  • 15
  • 8.9k

Enable false but want to see the color

Apr 3 2011 5:51 PM
Hello everyone :D
I have a question for my project...
I make a project about tests... And here i have a lot of stuffs...
I have radioButtons and checkBoxes and when someone come to correct the tests i want to make them unavailable for him/she to modify the answer... So i make this...

for(int i = 0; i < 4; i ++)
        checkBox[i].Enabled = false;

But also i want to make the text of the checkBox and radioButton red/green if the answer is incorrect/correct But or how i change the color the text will be all the day 'n' night gray(Or what is the name of that color)... This is because the Enabled is false...

The Question is... How to make them unchangeable but have a different color?
Ty for you're time

Answers (4)