23.11.2012 Views

2 Visual Components Manuals

2 Visual Components Manuals

2 Visual Components Manuals

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.2.2.4 ListBox Input Field − Reference<br />

This input field can be used to display a list of texts from a text group on the screen underneath one another. A<br />

text can then be selected and highlighted using a process variable.<br />

If more texts are defined in the text group or the process variable than there is space set in the ListBox output<br />

field, then a corresponding excerpt is displayed. This ensures that the selected highlighted text is always visible.<br />

Text elements can be selected by the user with this type of input field. This is done using a cursor which can<br />

switch between individual texts without changing the connected process variable. The selection can be<br />

confirmed with a separately configured key.<br />

General<br />

Summary of the basic properties of these types of output fields.<br />

Function<br />

Data Types<br />

Displays vertically arranged lists of texts from a text group in a process variable with<br />

highlighting based on a numerical index from a process variable.<br />

The following data types can be displayed for this field:<br />

UINT − Chooses which text should be highlighted.<br />

Availability This field can be used by all systems supported by <strong>Visual</strong> <strong>Components</strong>.<br />

Special<br />

Features<br />

Representation<br />

Individual<br />

Colors<br />

Special functions:<br />

• Almost any number of texts can be defined during creation in the <strong>Visual</strong> <strong>Components</strong><br />

editor and displayed during runtime (limited by the memory capacity of the target<br />

system).<br />

• Texts can be translated either conveniently in the editor or using external tools<br />

• Any desired operation can be implemented in the application using additional function<br />

keys or touch−operated fields.<br />

• Text groups can be used several times.<br />

• A cursor can be used inside the ListBox without the connected PV having to change.<br />

• A byte array can also be used to switch texts invisible or locked.<br />

• A cursor character even allows black/white displays to be used.<br />

Texts are output as a vertical list and are either extended to the set length with blank spaces or<br />

shortened if necessary. Because of this, the entire field always appears as a rectangle.<br />

Special functions:<br />

• Automatic display of the correct text section so that the highlighted text is always<br />

visible in the picture. (as soon as the control is switched from input mode)<br />

• Visible/Invisible switching using the Status process variable<br />

• Selectable foreground and background colors as well as a separate color for<br />

highlighted text.<br />

• Display of incorrect/missing variables (field filled in with hyphens '−')<br />

• Configurable color for text locking state<br />

• Fully selectable fonts<br />

The following can be individually set for each output field of this type:<br />

• Foreground color (text color)<br />

• Background color<br />

• Foreground color (text color) for highlighted text<br />

• Background color for highlighted text<br />

• Foreground color for locked text<br />

• Background color for locked text<br />

All colors can either be set in the editor or during runtime using a process variable.<br />

Properties<br />

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

Input field properties are set under the various tabs of the Properties dialog box. Field properties can be<br />

displayed by double−clicking on the input field in the editor and are automatically shown after a new field is<br />

inserted.<br />

60 3.2.2.4 ListBox Input Field − Reference

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

Saved successfully!

Ooh no, something went wrong!