TabManager - Create Tab Panels (uitabgroup) from a GUIDE GUI

버전 1.6.0.0 (41.1 KB) 작성자: Grant
Convention based method which allows a tabbed GUI to be designed using GUIDE
다운로드 수: 3.5K
업데이트 날짜: 2018/3/10

라이선스 보기

This class allows users to create a GUI using GUIDE that supports a tabbed UI.
Since GUIDE doesn't directly support the uitabgroup control, this class allows tabs to be created as standard panels that are at run time converted to uitab controls.
Usage:
1. Create a pane with tag set to Tab? where ? is any letter or number (e.g. TabA). This main pane should be left empty and determines the size and location of the tab group (uitabgroup)
2. Create additional panes with a tag name that starts with the name of the main pane. All other controls should be added to these panes.
3. In the Guide generated function xxx_OpeningFcn add the following:
handles.tabManager = TabManager( hObject );

인용 양식

Grant (2024). TabManager - Create Tab Panels (uitabgroup) from a GUIDE GUI (https://www.mathworks.com/matlabcentral/fileexchange/54705-tabmanager-create-tab-panels-uitabgroup-from-a-guide-gui), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2014b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Migrate GUIDE Apps에 대해 자세히 알아보기
태그 태그 추가
gui

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.6.0.0

Tab Order of children now maintained (was reversed).
Nested tabs supported (Thanks Timon)
TabManagerExample updated to show both changes.

1.5.0.0

The background colour of a placeholder panel is now copied to its corresponding uitab.

1.4.0.0

Changed the example (TabManagerExample.m) to show how to add a SelectionChangedFcn to the tab group so that a program can be notified when a user selects a tab.

1.3.0.0

A descriptive error message is now generated if a pane representing a tab is a child of the main pane (or another "tab" pane).

1.2.0.0

Modified the tab manager example to demonstrate how to select a tab from code and added a note to the TabManager class to describe how to do this.

1.1.0.0

Added note regarding the sorting of pane tag names prior to tab creation that can be used to control the order of tabs.
typo in description

1.0.0.0