Lenze VisiWinNet VisiWinNET Smart Benutzerhandbuch

Seite 197

Advertising
background image

Project example

Creating multiple−language projects (language switching)

Assigning user texts to a control element of the type "Label"

4

l

197

SHP−VWNS DE/EN 6.1

You have now defined your first user text.

4.6.3

Assigning user texts to a control element of the type "Label"

Next, we will create a control element of the type "Label" on the "FCentral" form and
logically link it to the user text.

1. Expand the Design node in Project Explorer and double−click the FCentral form

object.

2. Drag the Label control element from the Toolbox onto the FCentral form.

The control element will then be shown on the form and the "Label task" tasks menu
will be opened.

)

Note!

The tasks menu is closed as soon as you left−click somewhere outside the
menu. You can open it again by marking the control element and clicking the
small button

[at the upper edge of the control element.

3. While in the Label task tasks menu, click LocalizedText (Label1).

The dialog entitled "LocalizeStateTextDialog for Label1" will be opened.

4. In the Text group selection field, open the User texts node and double−click the

FCentral text group object that we created previously.
The user text "lblWelcome" is shown in the list field.

Advertising