J
Jo
Hi All,
In most new lanuages you put an & (ampersand) in a button's text and voila -
pressing ALT and the key after the & in the button text and the onclick
event fires.
C# supports this just fine BUT you can also just press the key without the
ALT button and it still fires the onlick event!
Is there any way one can prevent this second part from happening??? Maybe
one Global override function in a base class - I can override with the
ProcessMnemonic function but the I have to write one for each and every
button in the application - not what I wan't to do...
any ideas?
thanks
J
In most new lanuages you put an & (ampersand) in a button's text and voila -
pressing ALT and the key after the & in the button text and the onclick
event fires.
C# supports this just fine BUT you can also just press the key without the
ALT button and it still fires the onlick event!
Is there any way one can prevent this second part from happening??? Maybe
one Global override function in a base class - I can override with the
ProcessMnemonic function but the I have to write one for each and every
button in the application - not what I wan't to do...
any ideas?
thanks
J