Rank: 69665 based on 0 downloads (last 30 days) and 0 file submitted
photo

Thomas Mc Kie

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Thomas View all
Updated File Comments Rating
08 Jun 2010 TabPanel Constructor v2.8 (2010) TabPanel Constructor offers the easiest way for creating of tabpanels in MATLAB! Author: Elmar Tarajan

Ok, after my question is gone, I have to add an additional comment for it (sorry!):

I tried to get the tabselectionfcn working. I have a figure (tmp.fig) and a text-field (tag: 'abc') in it, where I created two tabs ('aaa' and 'bbb').
I tried to switch to 'bbb' by:
tabselectionfcn('tmp.fig','abc',2) which led to this error:
??? Error using ==> findobjinternal
Incomplete property-value pair.

Error in ==> findobjhelper at 56
h = findobjinternal( varargin{:} );

Error in ==> findobj at 45
h = findobjhelper( varargin{:} );

Error in ==> C:\sim1\tabselectionfcn.p>tabselectionfcn at
27

Could you please offer a simple example-file for making the tab-selection-change work?

Everything else in ur program works very well, thx for ur work!

I only suggest u add a 'close without saving'-Option to cancel any changes if one made a mistake (and rename the 'X'-Button to 'Save and Close')

08 Jun 2010 TabPanel Constructor v2.8 (2010) TabPanel Constructor offers the easiest way for creating of tabpanels in MATLAB! Author: Elmar Tarajan

For GUI's with tabs be carefull to rename all tags to unique tag-names (if u need the tag in your figur-m-file or anywhere else) within ur gui (can be done via the Object Browser for exisiting conflicts)

One need to be carefull on this, because the TabPanel Constructor does not create unique tag's for ur objects (and it shouldn't because this would change the tag-name during opening an existing tab, which I would hate!). So if u have two tabs and in both u have an edit-field, both will have 'edit1' as their tag.

08 Jun 2010 TabPanel Constructor v2.8 (2010) TabPanel Constructor offers the easiest way for creating of tabpanels in MATLAB! Author: Elmar Tarajan

Contact us