23.11.2012 Views

2 Visual Components Manuals

2 Visual Components Manuals

2 Visual Components Manuals

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

If the Use Global option is selected, then colors defined in the global project settings are used. If this option is<br />

not selected, text and background output color can be specified using the Foreground and Background settings.<br />

A variable which allows colors to be changed during runtime can be connected under Colors Variable (see also<br />

Changing Colors Using Variables).<br />

4.6.4.1.8 Simulation<br />

A text can be entered here which is displayed in the editor in Simulation mode.<br />

4.6.4.2 ListBox<br />

This output field is very similar to the Advanced Text output field. However, several texts are shown<br />

simultaneously in a list with the currently selected text accentuated by a different color.<br />

The ListBox is conceived as an output field and therefore does not receive any user interaction. The selected<br />

text is determined by a process variable from the PLC program.<br />

In this way, touch−operated elements can very easily implement any desired operation in the application if a<br />

panel with a touch screen is used. Naturally, key operation can also be implemented easily.<br />

ListBox properties correspond in many ways to those of Advanced Text Output. Different settings for the ListBox<br />

will be described in the following.<br />

4.6.4.2.1 Format<br />

In addition to the format properties of Advanced Text, the number of ListBox lines can be determined using the<br />

Rows parameter.<br />

4.6.4.2.2 Source of Texts<br />

There are 2 possibilities to choose from when displaying text with the ListBox:<br />

Introduction to <strong>Visual</strong> <strong>Components</strong> 2.3<br />

An existing text group can be connected using the Text Group setting. All texts from this text group are<br />

displayed in the ListBox during runtime in the order they were entered. The sequence or number of texts cannot<br />

be changed dynamically at runtime. However, text numbering within the text group can be adjusted during the<br />

design phase in the text group editor to meet corresponding requirements.<br />

334 4.6.4.1 Advanced Text Output

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!