How do I reuse my context menu for multiple objects?
Show older comments
I've created a uicontextmenu object, that I want to use with multiple objects in my GUI. How do I program it to recognize which object I clicked on and perform the appropriate action, instead of programming a separate context menu for each object?
Accepted Answer
More Answers (0)
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!