Programatically change DTDocumentBar position
조회 수: 1 (최근 30일)
이전 댓글 표시
Alexander Mering
2013년 1월 15일
댓글: Ajay krishna Vasanthakumar
2020년 10월 30일
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.
댓글 수: 0
채택된 답변
추가 답변 (1개)
Thierry Dalon
2014년 3월 21일
This post might help you a little bit: http://undocumentedmatlab.com/blog/disabling-menu-entries-in-deployed-docked-figures/
참고 항목
카테고리
Help Center 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!