Jump to content

visual indicator on inactive tab


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

Recommended Posts

I am building a layout with a tab control.  I would like to have a visual indication to the user if a tab has data in it, even if the tab is not selected.  For example, if a comments field on a comments tab is not empty, I would like to give the user an indicator that the comment exists when the tab is unselected. I know I can change the style of the tab individually, but can it be made conditional?

Link to comment
Share on other sites

Thanks, Lee.  You got me pointed in the right direction.  I used conditional formatting to change the tab text color to a highlight color with not isEmpty(theField), and then used GetLayoutObjectAttribute("theTab";"isFrontTabPanel") in a second condition to change the text back to the normal color when the tab was selected.  This combo got me the look I was after.

Link to comment
Share on other sites

@doughemi

Hi Doug,

If I’m understanding your reply, you're only wanting the tab to show a “Flag” until the user clicks into “the Tab” and then have the Tab change back to its normal color even if they take no action? 

@LaRetta

I don’t mind, my file was basic concept to see if that was what Doug was looking for. BTW, the bottom tab panel is similar to your change. Only he wants the “Flag” only to show if there is text in Tab2.

Link to comment
Share on other sites

This topic is 2987 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.