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
 
Back
Top