context menu and MenuItem

  • Thread starter Thread starter Ilann
  • Start date Start date
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
 
Hi Ilann,

Can you post simple working sample that deonstrates the problem because I
tried this and it works in my test
 
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
 
Back
Top