Resizing window/panel on tab
arun
I have a control panel with multiple tabs, and would like the panel to resize based on the active tab. Is there a 'resizePanel' or equivalent command that I could use in the tab function?
Arun
I recommend that you use the latest version of Igor (6.22A) since there have been bug fixes for this since it was first introduced. You can get the latest official version of Igor by selecting the Help->Updates menu item.
You might also check out my ACL_TabControl package on IgorExchange (http://www.igorexchange.com/project/ACL_tabcontrol). It makes using tab controls in Igor much easier (IMHO).
June 18, 2012 at 08:36 am - Permalink
I would like to comment that it will probably be very jarring visually to have the panel resize when you select a new tab. It would probably be better to make the panel large enough for the largest tab and leave it at that size. Sometimes that makes a very sparsely populated tab, but I think that's better than a very jumpy window.
Perhaps I have misunderstood your design.
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
June 18, 2012 at 09:21 am - Permalink