janm7462 Posted June 24, 2014 Report Posted June 24, 2014 Hello, I want dynamic text to buttons, listbox or combobox. How do I do that?. Jan Martijn
Eyal Koren Posted June 24, 2014 Report Posted June 24, 2014 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.
Recommended Posts
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