Combo box

The Combobox shows or edits multistate values.

Combo box 1:

Use

Can be used on any page where multistate values are to be displayed or edited.

Features

Possibility to link a BaObject to have to create only a single binding. All the required attributes are then linked via this binding and changes to the value are automatically written back to the PLC.

Attributes

The control inherits from TextControl and thus has the same attributes. In addition, there are the following attributes.

Feedback concept

The control can use the feedback concept.

BA

BaObject

tchmi:framework#/definitions/Symbol

To use the generic functionalities of TcHmiBa. It links a single object or a complete view (including children) to the control.

Combo box 2:

You can find more detailed information about the generic possibilities of TcHmiBa under Generic HMI.
The attribute is not applicable to all controls.

Combo box 3:
Combo box 4:
Combo box 5:

Common

Data

tchmi:framework#/definitions/TcHmi.BuildingAutomation.Controls.Common.Combobox.ComboboxItems

Data for the combo box.

Colors

ButtonColor

tchmi:framework#/definitions/SolidColor

Color of the button that opens the dropdown list.

ButtonArrowColor

tchmi:framework#/definitions/SolidColor

Color of the arrow in the button.

BaData

BaInterface

tchmi:framework#/definitions/Symbol

Allows linking a symbol that satisfies the BaInterface of the control. With this symbol all necessary data points of the control can be linked with only one binding.

BaInterfaceSymbolNames

tchmi:framework#/definitions/TcHmi.BuildingAutomation.Controls.Combobox.BaInterfaceSymbolNames

Allows editing the BaInterfaceSymbolNames.

Combo box 6:

The default values of BaInterfaceSymbolNames, as well as the expected data types can be found in the tooltip of the dialog for setting BaInterfaceSymbolNames:
Combo box 7:

Combo box 8:

Here is described how the BaInterfaceSymbolNames are overwritten by all controls of a type.

SelectedData (read-only)

tchmi:framework#/definitions/TcHmi.BuildingAutomation.Controls.Common.Combobox.ComboboxItem

Currently selected data.

SelectedValue

tchmi:general#/definitions/Number

Value of the currently selected data.

UseSelectedValueFeedback

tchmi:general#/definitions/Boolean

Determines whether or not the attribute SelectedValueFeedback is used.

SelectedValueFeedback

tchmi:general#/definitions/Number

Feedback for the selected value.

Events

onChanged

Triggered when the selected value has changed. This happens when the user selects a new entry.

Events

Event

Description

onSelectedValueChanged

Triggered when the selected value has changed.

onUserInteractionFinished

Triggered when the user interaction with the combo box has finished.