ContextMenuStrip KeyDown Scroll To MenuItem

G

Guest

So i'm finally porting an ap to 2.0! wahoo! ;)

In any case, I have a ContextMenuStrip which initially has two
ToolStripMenuItems. In the opening event i populate one of these item's
dropdownitem with a list that changes from time to time. this list can
sometimes get larger than the screen and thus produces the arrows to scroll
up and down the list.

THe problem i'm having is that a keypress will not scroll to the
ToolStripMenuItem that corresponds to that key(like the old ContextMenu). So
basically I want the user to be able to type the firs letter of an item in
the list and have the ContextMenuStrip scroll to the right ToolStripMenuItem
like the old ContextMenu did with it's MenuItems even if it's not visible in
the screen right now.

Appreciate it,
Cisco
 

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