
Table scroll bars not hidden correctly in Igor 9?

Hi,
I just upgraded to Igor 9.01 from Igor 8, running on Windows 10 Pro (64-bit). I have a function that builds a panel with various tabs and tables. When I upgraded, I noticed odd behavior when the panel first builds. Here's an example of a function that makes a panel with three tabs, with a table on each. Toggling between each tab shows that tab's table, and hides the other two. In Igor 8, this worked fine.
Function MyTestPanel() SetDataFolder root: KillWindow/Z TestPanel //Kill old panel NewPanel/W=(30,30,650,425)/N=TestPanel as "TestPanel" //Make a blank panel TabControl TestPanel size={500,350}, pos={10,10}, proc=MyTabControl, value=0 //Set up tab control TabControl TestPanel tabLabel(0)="Tab 0", tabLabel(1) = "Tab 1", tabLabel(2) = "Tab 2" //Label the tabs Make/O/N=10 MyTestWave0, MyTestWave1, MyTestWave2 //Make some test waves Edit/W=(50,50,200,200)/HIDE=0/HOST=#/N=Table0 MyTestWave0 //Make table 0 on tab 0 SetActiveSubwindow ## Edit/W=(125,125,275,275)/HIDE=1/HOST=#/N=Table1 MyTestWave1 //Make table 1 on tab 1 SetActiveSubwindow ## Edit/W=(200,200,350,350)/HIDE=1/HOST=#/N=Table2 MyTestWave2 //Make table 2 on tab 2 SetActiveSubwindow ## End Function MyTabControl(name, tab) : TabControl String name Variable tab //Depending on what tab is enabled, hide or show different tables If(tab == 0) SetWindow TestPanel#Table0, hide = 0 SetWindow TestPanel#Table1, hide = 1 SetWindow TestPanel#Table2, hide = 1 ElseIf(tab == 1) SetWindow TestPanel#Table0, hide = 1 SetWindow TestPanel#Table1, hide = 0 SetWindow TestPanel#Table2, hide = 1 ElseIf(tab == 2) SetWindow TestPanel#Table0, hide = 1 SetWindow TestPanel#Table1, hide = 1 SetWindow TestPanel#Table2, hide = 0 EndIf End
But now, when I run MyTestPanel(), the scroll bars for the two hidden tables show up (see picture below). Toggling between the all the tabs with MyTabControl() eventually hides the entire table, but I don't understand why the initial /HIDE=1 flag in MyTestPanel() seems to only hide the table, not the scroll bars.
Has anyone else had a problem with this in Igor 9.01?
Thanks,
Carrie

This is a known bug, and it has been fixed. Please select Help->Igor Pro Nightly Builds and download the latest bug fixes.
September 19, 2022 at 04:02 pm - Permalink
In reply to This is a known bug, and it… by johnweeks
Ok, thanks!
September 20, 2022 at 08:22 am - Permalink