04-01-2009 07:40 AM
04-01-2009 08:46 AM
I'm not sure about the latest CVI Tab operation, but back in the days when they were implemented with the EasyTab instrument, there was a function EasyTab_RemovePanel() to do this. Have you tried setting ATTR_VISIBLE to 0?
JR
04-01-2009 09:10 AM
there is a SetTabPageAttribute() function, which allows to set an attribute for a single tab in a tab control. the ATTR_VISIBLE attribute is defined for tab page.
so hiding a tab goes like:
SetTabPageAttribute( panel, TAB_CONTROL, 1, ATTR_VISIBLE, 0 );
where the third parameter is the zero-based index of the tab you want to hide in the tab control.
04-03-2009 07:40 AM