It depends on what version of FileMaker you have. Are you using version 12?
Sorry, FMPro 11 Advanced
Conditional formatting cannot be specified for a Tab Control in versions prior to FileMaker 12.
Thus, if you want to do this, you have to replace the tab panel lables with layout text that uses a conditional format expression to change the appearance of the text.
Then you need to give each tab panel an object name by entering a name into the "Name" box at the top of the inspector's position tab.
I would have thought that this expression would then work to change the color of some layout text when the specified tab panel was clicked:
GetLayoutObjectAttribute ( "PanelObjectNameGoesHere" ; "isFrontTabPanel" )
But it isn't working for me.
What does work is to use a script performed by the OnObjectModify script to set a global variable:
If [ GetLayoutObjectAttribute ( "Tab1" ; "isFrontTabPanel" )]
Set Variable [$$FrontPanel ; "Tab1"]
Set Variable [$$FrontPanel ; "Tab2"]
Then I can use:
$$FrontPanel = "Tab1"
in a conditional format expression to change the layout text's color or other text/color formatting.
Is there no way to simply select a tab and have its color changed. I would like to see the different colored tabs when the none of the tabs are elected. It was possible to do in FM9.
The themes all have colors associated with the tabs, so obviously they are changeable somehow.