473,396 Members | 2,029 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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

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

Jan 1 '06 #1
1 2419

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


Jan 1 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Peloux | last post by:
Hi, I have written some htc in order to validate data in a form. most of htc are attached on 'onblur' event. Now, we would like to use the Enter Key to sublit form, so we use the following...
0
by: Narshe | last post by:
I'm using the excel object from office web components in an asp.net webpage. I have 2 major issues. When a user hits enter on a cell, it moves cells. That's fine, 'cause that's how excel...
2
by: newbieto.net | last post by:
I have a requirement to map the enter key in the number pad to behave like a tab key in a asp.net application. Since the keydown event of any control in asp.net returns 13 (keycode) for both the...
0
by: tzarger | last post by:
Hello, I need to export some data from SQL Server and the data contains \n and I need to replace those with ALT-ENTER so when it is exported to excel, it should the line break in the cell. I...
1
by: YJ | last post by:
Hi All This is really a newbie type question. I am tired looking for various shortcut keys while coding in C#. I am using VC#2003 and like to avoid using mouse. Does anyone have link to a...
2
by: Richard Lewis Haggard | last post by:
How does one specify the Escape key as an accelerator? My client has specified that the Escape key be used as an accelerator for a particular menu item. In VS05's designer mode, this particular...
1
by: bruce628 | last post by:
I want to use SWT Label and popmenu to construct a menubar ,and the effect of this menubar is same to the menubar in SWT.When click the Label,it should be highlighted and popmenu shows.The issue is...
1
by: Kayvine | last post by:
Hi guys, this is a question I have for an assignment, it is pretty long, but I am not asking for the code(well if someone wants to write I'll be really happy, lol), but I just want to know how to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.