Hi,
I have a custom control derived from the Label class with a few extra features. I am having trouble implementing one of these:
Currently, as I'm sure you are aware, when ALT + the Mnemonic character of a Label control is pressed, the control with the next highest TabIndex property is given focus.
I wish write custom code to handle the this ALT + Mnemonic character keypress myself, without diverting focus to the next control at all.
I have tried overriding the OnEnter/OnGotFocus methods, but with no success.
I know it is possible because the LinkLabel class (which inherits from Label also) does it somehow!
Any other ideas?
Thanks.