No BSD License  

Highlights from
Tab and subtabs

Be the first to rate this file! 6 Downloads (last 30 days) File Size: 5.78 KB File ID: #10239
image thumbnail

Tab and subtabs

by Micha³ Steuden

 

06 Mar 2006 (Updated 10 Mar 2006)

Tab with subtabs and deeper

| Watch this File

File Information
Description

This file will help you to build as many levels of GUI tabs as you wish
Files:
----------------------------------
Example:
tabandsubtabs.fig
tabandsubtabs.m
---------------------------------
hideorshowcontrols.m
This function turns on/off controls with the specified value in the 'UserData'.
Place this function in your figure.m and insert the numbers in the uicontrols section ('Userdata') which will indicate connections between tabs. Click on uicontrol>>PropertyInspector>>Userdata>>set value

EXAMPLE:
to turn off desired controls with the 'UserData'=[22; 213 ;25 ;214; 217; 2]
turn off all uicontrols with '2' : hideorshowcontrols(2,'off');
  
turn off all uicontrols with '21': hideorshowcontrols(21,'off');

%turn off only uicontrol '213' : hideorshowcontrols(213,'off');

%turn on only '2' : hideorshowcontrols(20,'on');

%turn on all except '22' and '2' : hideorshowcontrols([21 25],'on');

Finaly you can use this method to set another properties.

MATLAB release MATLAB 6.5 (R13)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
10 Mar 2006

last 5 lines of hideorshowcontrols.m were unnecessary

Tag Activity for this File
Tag Applied By Date/Time
gui tools Micha³ Steuden 22 Oct 2008 08:17:28
example Micha³ Steuden 22 Oct 2008 08:17:28
tab gui panel group Micha³ Steuden 22 Oct 2008 08:17:28

Contact us at files@mathworks.com