Programatically change DTDocumentBar position
Show older comments
Within the Figures container (and the editor also), the list of open figures (or documents) could be positioned using the context menu, changing the bar position. Within an deployed application, I need to perform this task programatically.
How is it possible, starting from the figures container
com.mathworks.mde.desk.MLDesktop.getInstance.getGroupContainer('Figures')
or any other starting point, to either
- extract the context menu und manually find the associated (position left) callback, or
- directly get access to the positioning command via something like
Something.DTDocumentBar.setPosition(LEFT)
Thanks for any answer.
Accepted Answer
More Answers (1)
Thierry Dalon
on 21 Mar 2014
0 votes
This post might help you a little bit: http://undocumentedmatlab.com/blog/disabling-menu-entries-in-deployed-docked-figures/
1 Comment
Alexander Mering
on 21 Mar 2014
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!