Hi,
I get an error, when activating a tab with “setTabActive”.
This error only occurs, when having set “enableAutoSize( true, true )”.
The error is: “this.mainCont.style is undefined”.
[code]var oTabbar = new dhtmlXTabBar( cName, cMode );
oTabbar.setImagePath( “/image/” );
oTabbar.enableAutoReSize( “enable” );
oTabbar.enableAutoSize( true, true );
oTabbar.setSkin(“dhx_skyblue”);
oTabbar.enableTabCloseButton( lClose );
oTabbar.setSize( this.style.width + “px”, this.style.height + “px” );
oTabbar.addTab( cName, cLabel, “”);
oTabbar.setContent( cName, oContent );
oTabbar.setTabActive( cName );
[/code]