Combo box
The Combobox shows or edits multistate values.
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.
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.
You can find more detailed information about the generic possibilities of TcHmiBa under Generic HMI. |
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.
The default values of BaInterfaceSymbolNames, as well as the expected data types can be found in the tooltip of the dialog for setting BaInterfaceSymbolNames: |
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. |