Listbox, context menu and HotKey

J

Jeff Williams

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
 
V

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top