Jump to content

Dynamic text to button etc.


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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...