Download project
This example demonstrates the use of text fields. A visualization which lets the user
switch the language of a given text was implemented for better understanding.
The visualization consists of one text field and three buttons for different languages.
Pressing the button will display the text in the selected language.
By default this example displays "Hello World!" in three different languages.
To extend the example add more text to the "Textlist"
. Then select the text field in the visualization
and change the "dynamic variable"
to the ID from the list with the "Properties Editor"
.
The "Expert View"
is necessary to see this option.
The language buttons use the "OnMouseClick" event to change the language.
System requirements and restrictions | Info |
---|---|
Programming System | CODESYS Development System Version 3.5.14.0 or higher |
Runtime System | CODESYS Control Version 3.5.14.0 |
Required Accessories | - |