How can I get a Menu Item's ShortcutKeys = Alt+Enter

  • Thread starter Thread starter Christian Blackburn
  • Start date Start date
C

Christian Blackburn

Hi Gang,

I have a context menu in my application where users click over files.
How can I get the shortcutkeys property of a menu item equal to
Alt+Enter? I don't see Enter or Return anywhere in the list. Perhaps
it's under a different name. I'm using the US English versions of
Windows and VB 2005 Express.

Thanks for reading or responding,
Christian Blackburn
 
mnuTestItem.ShortcutKeys = Keys.Alt Or Keys.Enter

But you are right: The Enter key (and a lot of other keys) do not show
up in the PropertyGrid. Perhaps because they are using a custom
property page for selecting the key and have left those keys out for
some reason. Dunno. Cannot be bothered to investigate right now.

/Joergen Bech
 
Back
Top