Filter löschen
Filter löschen

How does one implement context menus within the Matlab App Developer?

2 Ansichten (letzte 30 Tage)
David Fergenson
David Fergenson am 5 Dez. 2017
Beantwortet: Jyoti Gandhe am 26 Mär. 2020
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 Kommentar
Didier Blach-Laflèche
Didier Blach-Laflèche am 23 Mai 2018
I am also struggling with this issue. Has anyone figured out how to implement context menus in the app designer?

Melden Sie sich an, um zu kommentieren.

Antworten (2)

ES
ES am 24 Mai 2018
Bearbeitet: ES am 24 Mai 2018
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

Jyoti Gandhe
Jyoti Gandhe am 26 Mär. 2020
App designer supports Context Menu and Toolbar components as of 2020a.

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by