473,385 Members | 1,888 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,385 software developers and data experts.

Listbox, context menu and HotKey

I was wondering if it is possible to do the following so my users can
user the keyboard for all data entry.

1. I have a listview on a form.
2. I set the focus on this listview after key data is entered.
3. I would like a Hot Key combination like Alt-M to display a Context
menu for this ListView

Is option 3 possible through code as I cannot see a simple way to
achieve this.

Regards
Jeff
Mar 22 '07 #1
1 2237
VJ
So you need to write code on KeyDown or KeyPress (read MSDN to see what you
need) for the combination of ALT+M.. It is possible, if you have problems
post a sample of the problem, we can help you

VJ
"Jeff Williams" <je***********@hardsoft.com.auwrote in message
news:13*************@corp.supernews.com...
>I was wondering if it is possible to do the following so my users can user
the keyboard for all data entry.

1. I have a listview on a form.
2. I set the focus on this listview after key data is entered.
3. I would like a Hot Key combination like Alt-M to display a Context menu
for this ListView

Is option 3 possible through code as I cannot see a simple way to achieve
this.

Regards
Jeff

Mar 22 '07 #2

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

Similar topics

2
by: PC User | last post by:
I'm creating a shortcut menu to popup over my richtext box. Its a form with a listbox of menu items with associated richtext activex (rtf) editing commands. I found a way to transfer a value from...
7
by: Dmitry Karneyev | last post by:
Hi! Could anyone tell me how to select listbox items by right button of the mouse? It works originally only with left button. Thanks.
3
by: Chris | last post by:
I'm able to add a context menu to the right click on a listbox but it does not select the item in the listbox. I would like the context menu before it pops up to select the item that the mouse was...
6
by: Dan Bass | last post by:
If you look at explorer, right clicking on a file, first selects the file, then throws up the context menu relating to that selection. With a Windows ListBox control and a simple context menu,...
3
by: Reb | last post by:
Hi, I am using drop down menu in my pages. In one of my page,there is a listbox control below the menu. This listbox control is hiding the drop down menu items. How can i make the drop down...
1
by: BillyB | last post by:
I have a context menu tied to a list box. When I right-click on an item, I'd like that item to be selected before the context menu invokes, similar to how Outlook Express works when right-clicking...
0
by: David J | last post by:
Hi, I am strugling with the propertygrid and a listbox. I am using the universaldropdowneditor from the codeproject (code below). However I am populating the listbox via a datasource. The problem...
3
by: Art | last post by:
Hi, I've got a bunch of ListBoxes. I want to have a context menu that will include, for example, an edit routine. The problem I have is the following. Suppose you select item 1. Then you move...
1
by: Bijender Kumar | last post by:
how to generate dynamic menu hotkey in vb6
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...

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.