The bug that does not allow labels to look disabled (grayed) isn't that annoying for the programmer, but is does lend to a less intuitive interface presentation sometimes. When the labels Enabled property is set to false, it does disable it, but the appearance does not change. To work around this bug, simply set for forecolor of the label each time the enabled property is changed:

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish