Issues with shortcut keys

AetDev

New member
Joined
Jan 17, 2007
Messages
1
Programming Experience
1-3
I am using VS 2005 for VB .net development. I have short cut keys configured for buttons on my forms adding the '&' sign in front of the letter on the button name which i would like to use as a short cut. My expectation was as default to reach this button a user would have to use the key combinations "ALT" + the letter which i configured as the shorcut key.

But noticed that if the current control with focus is a button the short cut keys become responsive to just pressing the relevant letter without the combination with "Alt".

if the focus is on any other control then the short cut keys work as expected with the ALT + key combination.

Has anybody come across this issue? And if you how can i avoid allowing single letter keystrokes to activate short cut keys.
 
Back
Top