How can I handle the right-click event
and how can I edit right-click menu
Thanks...

Recommended Answers

All 2 Replies

On your application or generally??

U can use the ContextMenu witch is a control that you can find in the toolbox:

first you add one to your project
configure it with the wizard I mean add some menu elements
the select the control that you desire to add the context menu to it a datagridview for example

press F4 to get the preperties grid

the find the porperty witch called context menu
select the context menu that u built

fire up the applcation then focus the targeted control and right click you will observe that the context menu appearts

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.