COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Active Reports => Topic started by: bidgeir on 03 Sep 2012 05:17:23 AM

Title: Changing the color of tabs in tab control
Post by: bidgeir on 03 Sep 2012 05:17:23 AM
Hi all.

Does anyone know if its possible to change the color of the tabs in the tab control? I cannot find any class associated with the tab control and there is no background color attribute (or any other color attribute for that matter).

One possibility I see is to use an image and set it as tab icon, but I don't like the idea to always have to create images just to change the background color. The tab must be getting is look from somewhere.
Title: Re: Changing the color of tabs in tab control
Post by: MFGF on 03 Sep 2012 10:16:32 AM
The only way I have found is to use images. It's a bit messy, but if you have a standard look and feel for your tabs, you can edit and reuse the same base set of images each time.

Regards,

MF.
Title: Re: Changing the color of tabs in tab control
Post by: bidgeir on 04 Sep 2012 04:59:36 AM
Ok, thanks for the input.
Title: Re: Changing the color of tabs in tab control
Post by: ad7 on 28 Sep 2012 02:15:11 PM
How tou can use images to chance color in the tab control?
Title: Re: Changing the color of tabs in tab control
Post by: MFGF on 04 Oct 2012 11:14:10 AM
Create an image of the tab in whatever colour you like, then use this image in the tab icon.

Cheers!

MF.