What is the alternative to UiContextmenu when using uifigure?

2 Ansichten (letzte 30 Tage)
Yoann Ladroit
Yoann Ladroit am 15 Jul. 2019
Beantwortet: Yoann Ladroit am 20 Dez. 2019
Hi all,
I have been looking at migrating to the new uifigure for a rather large app I have coded in Matlab (~200 000 code lines). The main issue would be the non existence of Uicontextmenu under the uifigure...
I there an alternative to it? I could not find any in the new "app designer" components...
Thanks for your help!

Antworten (3)

Stijn Helsen
Stijn Helsen am 13 Dez. 2019
This is a very valid question! uicontextmenu is available for so long (in normal figures). Creating a new type of figure (with some obscure differences with the "old figures"), specially created for UI's, and then not directly implementing this possibility looks very strange to me. (And uifigures are even not so new anymore.)

Yoann Ladroit
Yoann Ladroit am 20 Dez. 2019
UPDATE: Matlab 2020a has uicontextmenu and toolbars for the new app format...
I will migrate things as soon as possible!

Melinda Toth-Zubairi
Melinda Toth-Zubairi am 28 Aug. 2019
Thanks for this question. This is an active area of development and is expected to be supported in an upcoming release. If you'd like more information about the latest features in App Designer, the App Designer product page on mathworks.com lists feature highlights from the latest release and provides links to additional resources.

Kategorien

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

Community Treasure Hunt

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

Start Hunting!

Translated by