Jump to content

Unilogic State Machine Button Colors


alexmoskos

Recommended Posts

Hi,

While you can select different text to display when using the "State Machine Button" in Unilogic, you can not select different colors of the background of the button on hand. You can select different text colors, but not different background colors. It would be nice to be able to select a color of the background for each state to make it more obvious for the end user.

Link to comment
Share on other sites

  • 5 years later...

Hello,
I'm re-launching this topic to find out what is the status of the background color customization function in "State Machine Button".
I am creating a HMI with a tab system to access different settings and I would like to be able to change the background color of these tabs to see which one is active, inactive and in use (Focus). The background color would be a definite plus for a better user experience.
Do you have an idea for a replacement?
Sincerely,

Translated with DeepL

Link to comment
Share on other sites

  • 2 weeks later...

@papouchka

You can use "List of Text" element, and define an integer that sets the color and the text on each Tab. In your case, the text doesn't change, but only the foreground and background.

You can attach "Actions" to the List of Text, so it will act like a button.

You won't have the state actions though (Different set of actions depending on the state of the tab), but I doubt you need it in this case.

Link to comment
Share on other sites

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

This site uses cookies. By clicking I accept, you agree to their use.