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.

3.2.3.6 ListBox Output Field − Reference<br />

Using this output field, a list of texts can be shown on the screen underneath one another. They can be used<br />

either from a text group or a process variable. A text can be highlighted and selected 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 />

The ListBox output field doesn't allow user interaction, either from panel keys or touch screen keypads. Thus,<br />

any necessary operations need to be implemented in the application.<br />

General<br />

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

Function<br />

Data Types<br />

Displays vertically−ordered lists of texts from a text group or from an array of string<br />

variables in a process variable. Highlighting is based on the number index from a<br />

process variable.<br />

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

STRING[][] − optional as the source of the text to be displayed<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 Features<br />

Appearance<br />

Individual Colors<br />

Special functions:<br />

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

<strong>Components</strong> editor and displayed during runtime (limited by the memory<br />

capacity of the target system).<br />

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

tools<br />

• Texts can also be provided using a process variable during runtime; in this<br />

case, language−switching must be prepared in the application.<br />

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

function keys or touch−operated fields.<br />

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

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

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

a rectangle.<br />

Special functions:<br />

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

always visible in the picture.<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 />

• Display of invalid values in the index variable (Field filled in with asterisks '*')<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 />

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 />

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

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

100 3.2.3.6 ListBox Output Field − Reference

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

Saved successfully!

Ooh no, something went wrong!