How does one implement context menus within the Matlab App Developer?
조회 수: 3 (최근 30일)
이전 댓글 표시
This seems as thought it should be simple but I've been having a devil of a time with it.
There's no context menu control within App Developer and the objects that I've created don't seem to have UIContextMenu as properties. So, while I can create context menus using the uicontextmenu command upon the display of the app figure, I am not able to assign those menus to any of the controls.
Have I missed something very obvious? Or is there a known workaround? Or is this merely a limitation of App Developer and, in this case, when will this limitation be addressed?
Thanks in advance.
dfergenson
댓글 수: 1
Didier Blach-Laflèche
2018년 5월 23일
I am also struggling with this issue. Has anyone figured out how to implement context menus in the app designer?
답변 (2개)
ES
2018년 5월 24일
편집: ES
2018년 5월 24일
As of 16B atleast, appdesigner doesn't have a context menu option. https://in.mathworks.com/help/matlab/creating_guis/choose-components-for-your-app-designer-app.html
I think same applies to Toolbars and ActiveX control.
https://in.mathworks.com/help/matlab/creating_guis/graphics-support-in-app-designer.html
댓글 수: 0
Jyoti Gandhe
2020년 3월 26일
App designer supports Context Menu and Toolbar components as of 2020a.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!