unable to set bgcolor of a specific tab in a tabpanel

Hello,

I seem to be unable to set the bgcolor for a specific tab. It does not seem to work with addTab not with setTabBGColorAt.

Thanks
Patrick

Servoy Developer
Version 3.5.6-build 519
Java version 10.0-b22 (Windows Vista)

please file a support case

I have done that already: #140388

Servoy 4.1.3
Windows Vista

Did setTabBGColorAt() get broken in Servoy version 4.1? As a simple test, I ran the following method:

function setTabpanelTabColors()
{
	var numberOfTabs = elements.frm_protocol_tabpanel.getMaxTabIndex()
	
	for ( var i = 1 ; i <= numberOfTabs ; i++ )
	{
		elements.frm_protocol_tabpanel.setTabBGColorAt( i, '#000000' )	// Black
		elements.frm_protocol_tabpanel.setTabFGColorAt( i, '#ff0000' )	// Red
	}
}

The foreground color on all tabs turned red, but the backgrounds are all white (not black as specified). I tried other background/foreground color combinations and got the same results. Is this a bug, or am I missing something like a setting override?

Thanks!