Rank: 1435 based on 75 downloads (last 30 days) and 1 file submitted
photo

Shiying Zhao

E-mail

Personal Profile:

Professional Interests:

 

Watch this Author's files

 

Files Posted by Shiying
Updated   File Tags Downloads
(last 30 days)
Comments Rating
27 Jun 2006 Screenshot uitabpanel A complete implementation of TabPanel for MATLAB Author: Shiying Zhao builtin, tabpanel, gui tools, objects, gui, example 75 9
  • 4.9
4.9 | 10 ratings
Comments and Ratings on Shiying's Files View all
Updated File Comment by Comments Rating
06 Jul 2009 uitabpanel A complete implementation of TabPanel for MATLAB Author: Shiying Zhao Hasnan, Saidul

If you find errors when trying to add uitabpanel inside another uitabpanel. You might want to replace the following codes:
           
           cmenu = uicontextmenu;
            uimenu(cmenu,'Label','Goto Tab');
            uimenu(cmenu,'Separator','on');

to...

findfigure=0;
testparent=parent;
while ~findfigure
    
        try
            cmenu = uicontextmenu('Parent',testparent);
            uimenu(cmenu,'Label','Goto Tab');
            uimenu(cmenu,'Separator','on');
            findfigure=1;
        catch
            testparent=get(testparent,'parent');
        end
    
end

cheers,
Saidul Hasnan

09 Mar 2009 uitabpanel A complete implementation of TabPanel for MATLAB Author: Shiying Zhao Jveer

good looking GUI

09 Mar 2009 uitabpanel A complete implementation of TabPanel for MATLAB Author: Shiying Zhao Roi

16 Oct 2008 uitabpanel A complete implementation of TabPanel for MATLAB Author: Shiying Zhao UN, Bharathiraja

I am withdrawing my last comment on code modification. Instead, it is better done as follows,
htab = uitabpanel(...
     '...'
    'CreateFcn',@CreateTab,...
    'ResizeFcn',@ResizeTab)
where as ResizeTab is the custom made resize function. Thanks.

16 Oct 2008 uitabpanel A complete implementation of TabPanel for MATLAB Author: Shiying Zhao UN, Bharathiraja

It is working well.
I wish to suggest to modify line320-321 as follows to avoid some issues faced in resizing.
TopBottomTabResizeCbk(htab,[]);
set(htab,'ResizeFcn',@TopBottomTabResizeCbk);

Top Tags Applied by Shiying
builtin, example, feel, gui, gui tools
Files Tagged by Shiying
Updated   File Tags Downloads
(last 30 days)
Comments Rating
27 Jun 2006 Screenshot uitabpanel A complete implementation of TabPanel for MATLAB Author: Shiying Zhao builtin, tabpanel, gui tools, objects, gui, example 75 9
  • 4.9
4.9 | 10 ratings
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com