Jump to content
Server Maintenance This Week. ×

Change Tab Look If Data Present?


This topic is 6570 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I would like the tab title to become bold or change color if a test is true (such as a field on the tab's layout contains data).

Any idea how to do this? I want the tab to stand out to the user if the layout relating to the tab has values other than empty...

Thanks :

Link to comment
Share on other sites

If you are talking about the Tab Control feature, it is possible to change the color of the tab with a calculation field. First, create your tabs but with spaces as the names. Use the number of spaces depending on how big you want the tab or you use a full justified tab if you want it to fill the entire tabbed area. Then, overlay a calculation on each tabbed area with a formula similar to the following:

Case(not IsEmpty(MYTABLE::Field1); TextColor("TabName"; RGB(200; 0; 0)); "TabName") // Makes tab text red

Link to comment
Share on other sites

This topic is 6570 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.