Context menu depending on panel

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
 
A

AlexS

You can set different menus on different panels using ContextMenu property

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

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

Similar Threads


Top