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
On 1 Jan 2006 05:29:25 -0800, "Christian Blackburn"
<my*********@Yahoo.com> wrote:
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