Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Changing Container tab custom colour on selection

I need to be able to highlight a selected tab of a container by a colour change on the selection of a particular container.  I have done this with sheets where i have created a variable vTab for the sheet with the following calculated colour for the sheet:

if(vTab) = 30, RGB(255,0,0), white())

where 30 is the sheet ID number.

How can this be done for container tabs?

Regards.

8 Replies
Chanty4u
MVP
MVP

in container object go to presentation tab..u hve tab colour

Anonymous
Not applicable
Author

Thanks for the response

Anonymous
Not applicable
Author

Thanks Suresh for the reference article, they were helpful

Chanty4u
MVP
MVP

welcome..glad to help u

tamilarasu
Champion
Champion

Hi Christopher,

Go to presentation tab and select Tab color property. There you can write your expression.

Capture.PNG

Anonymous
Not applicable
Author

Many thanks, how do you make reference to the tab ID in the expression?

tamilarasu
Champion
Champion

Hi Chirstopher,

You can change color for active and inactive tabs i.e you can set one color for active object snd an another color for inactive tab. You need to use macro to get active tab index in a container. Check the below thread and might be useful for your requirement. But tricky

How to identify which Object ID is active inside a container