context menu and MenuItem

I

Ilann

I have a simple question about ContextMenu and MenuItem,

when I attach a ContextMenu to a control in the designer and I right click
during execution I can select options with arrow keys but when I use the
show Method of a ContextMenu I cannot select an option in the menu by
pressing arrow keys,

how could I implement this?

Thanks

Ilann
 
S

Stoitcho Goutsev \(100\) [C# MVP]

Hi Ilann,

Can you post simple working sample that deonstrates the problem because I
tried this and it works in my test
 
I

Ilann

ok my mistake before show the contextMenu I was giving the focus to another
document,
sorry about that

Ilann
Stoitcho Goutsev (100) said:
Hi Ilann,

Can you post simple working sample that deonstrates the problem because I
tried this and it works in my test

--

Stoitcho Goutsev (100) [C# MVP]


Ilann said:
I have a simple question about ContextMenu and MenuItem,

when I attach a ContextMenu to a control in the designer and I right click
during execution I can select options with arrow keys but when I use the
show Method of a ContextMenu I cannot select an option in the menu by
pressing arrow keys,

how could I implement this?

Thanks

Ilann
 

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