CheckBox - KeepText enabled when disabling input of CheckBox?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I create CheckBoxes on the fly. I want to disable the CheckBoxes when they reflect Status, so the operator does not try to input anything. However, the text/label of the CheckBox gets grayed out also. How can I keep the text/label black (not grayed out) while disabling the input?
 
You can capture the Key press event and check the condition there and if Status is set there, handle it
e.Handled = true

I hope this helps
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top