- Getting started
- Using the software
- OPC UA
- Graphic and layout objects
- Developing solutions
- Developing projects with C#
- Application examples
- UI tutorial
- NetLogic tutorial
- Object and variable references
Create buttons for switching locales
Create a button that changes the interface language to English and a button that changes the interface language to Polish.
- Create the buttons:
- InProject view, create two buttons by right-clickingMainWindow (type)and selecting .
- Rename the buttons by hovering-over each button, selectingEdit
- USLocaleButton
- PLLocaleButton
- Configure the English locale button:
- InProject view, selectUSLocaleButton.
- InProperties, setTexttoEnglish.
- InEvents, next toMouseClick eventselectAdd
- UnderInput arguments, create a dynamic link betweenVariableToModifyand .TIP: You can select thevalues from the@AttributeAttributedrop-down menu at the bottom of the dialog.For more information about dynamic links, see Create dynamic links.
- UnderInput arguments, setValuetoen-US.
- Configure the Polish locale button:
- InProject view, selectPLLocaleButton.
- InProperties, set theTextproperty value toPolish.
- InEvents, next toMouseClick eventselectAdd
- UnderInput arguments, create a dynamic link betweenVariableToModifyand .TIP: You can select thevalues from the@AttributeAttributedrop-down menu at the bottom of the dialog.For more information about dynamic links, see Create dynamic links.
- UnderInput arguments, setValuetopl-PL.
Provide Feedback