Question

Is there an event that fires in vb.net just before a contextMenuStrip appears when the user right clicks on a control? I need to be able to control the content of the contextMenuStrip just prior to the menu strip appearing. Basically I want to be able to change the content of the contextMenuStrip just before it appears. Is this possible?

Was it helpful?

Solution

Yes, use the Opening event.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top