Info
此问题已关闭。 请重新打开它进行编辑或回答。
Has anyone written a cascading popup-style uicontrol?
1 次查看(过去 30 天)
显示 更早的评论
e.g., similar to what is possible w/ uicontext menus, only as a uicontrol so it can "live" in a figure or panel? (As near as I can tell, given present Matlab GUI object options, one would have to implement this, descending level by level, in the callbacks of popup-style uicontrols--I'm just wondering if anyone has already done this in a general way so that all one has to do is specify the lists to display at the various levels and the rest is done for you.) Thanks!
0 个评论
回答(1 个)
Walter Roberson
2012-10-23
The UIContextMenu property (of most graphic objects) allows you to associate a right-click activated uicontextmenu object with the graphics object.
2 个评论
Walter Roberson
2012-10-23
That sounds a bit familiar; I think someone else asked for much the same thing about a year-ish ago.
此问题已关闭。
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!