I have a form that has 3 different panels in it. I want to have a different
context menu depending on which panel the mouse cursor is in at the time of
the right click on the mouse. How do I achieve this?

Bill

Re: Context menu depending on panel by AlexS

AlexS
Fri Jul 20 13:17:55 CDT 2007

You can set different menus on different panels using ContextMenu property

Or you can assign menu dynamically in right-click handler using same
property


"Bill Gower" <billgower@charter.net> wrote in message
news:%23b%23Zq9uyHHA.1100@TK2MSFTNGP06.phx.gbl...
>I have a form that has 3 different panels in it. I want to have a
>different context menu depending on which panel the mouse cursor is in at
>the time of the right click on the mouse. How do I achieve this?
>
> Bill
>
>
>