Jump to content

Dynamic text to button etc.


janm7462

Recommended Posts

Hello Jan,

you have two approaches in your case:

the first is using a "List of Texts" HMI element. You can define different texts and activate them according to an index value. Also, you can attach different actions to the element which will give it a button functionality.

The second is more complicated solution (and less effective on my opinion, especially if you want to use several languages in your project), but it is closer to your definition of "attaching a string variable to a button": You can use the Unilogic languages feature to define more than one language in you project. Then, for every HMI element you can define its own appearance depending on you language selection. Selecting the active language is done via the "Actions" screen.

 

I hope that answer your question.

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.