Why does cameratoolbar Orbit Camera delete my uicontextmenu?

2 vues (au cours des 30 derniers jours)
Fred Dilkes
Fred Dilkes le 16 Déc 2019
If I follow the following steps, my context menu disappears. Is that supposed to happen?
f = figure;
ax = axes('Parent',f);
cameratoolbar(f,'Show');
c = uicontextmenu();
uimenu('Parent',c','Label','Test');
ax.UIContextMenu = c;
ax.UIContextMenu.Children
Right click on axes
Click on Orbit Camera to toggle on
Right click on axes
Click on Orbit Camera to toggle off
ax.UIContextMenu.Children

Réponses (0)

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by