Click here to Skip to main content
15,919,931 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a user interface on many forms with buttons and menu strips. I can create access keys for the buttons by placing an ampersand in the Text property. I have deliberately not created any access keys with the ampersand for the menu strip items. The access keys for the buttons work correctly provided the underlined letter is not the first letter of any of the menu strip items. In that case the menu item is preferentially actioned and not the button. Everywhere I have looked states that the ampersand must be used in the menu item text for it to be actioned by an access key.

What's going wrong?

I'm using Windows7, Microsoft Visual Studio Express 2013 for Windows Desktop (VB).

Also, as I add forms as controls to a master form, if , for example I press Alt+Q and there is not a 'Quit' in the active form as button or menu it will respond to a 'Quit' in the parent form menu. This is resulting in a very unfriendly user interface.

What I have tried:

I have searched for this action but have found no references to it anywhere.

I have even created a project of only one form with only one menu strip control with only one item in it and the same thing occurs.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900