Context menu depending on panel

  • Thread starter Thread starter Bill Gower
  • Start date Start date
B

Bill Gower

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
 
You can set different menus on different panels using ContextMenu property

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