B.Gordon Posted April 30, 2006 Posted April 30, 2006 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 :
SteveB Posted April 30, 2006 Posted April 30, 2006 There is no way to change the color or text type of a tab dynamically. I'd try something else, like a calulation that displays a message, which can be made bold and or colored, or empty if there is no data. Steve
John Mark Osborne Posted April 30, 2006 Posted April 30, 2006 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
John Mark Osborne Posted April 30, 2006 Posted April 30, 2006 I stand corrected. Steve I'm sure you'll show me something I didn't know sometime soon :
B.Gordon Posted May 1, 2006 Author Posted May 1, 2006 Thanks alot... that is just the simple answer I was hoping for!
Recommended Posts
This topic is 6799 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 accountSign in
Already have an account? Sign in here.
Sign In Now