Is there a way to remove Alt-character shortcuts from controls at runtime?

Posted by Dan Neely on Stack Overflow See other posts from Stack Overflow or by Dan Neely
Published on 2010-03-18T19:53:19Z Indexed on 2010/03/18 20:21 UTC
Read the original article Hit count: 156

Filed under:
|
|

I have a dialog with a number of Alt-Letter shortcuts on labels for textboxes/etc. This dialog can present data in either an editable or a read-only mode. I've received a request to hide the underlines for the shortcuts if the dialog is in read only mode. Other than editing the label text at runtime (ugh) is there any way to remove them?

If you don't know what I'm referring to by alt-Letter shortcuts see this question.

© Stack Overflow or respective owner

Related posts about c#

Related posts about winforms