SrcData
Data for the options menu.
A simple list of options can be compiled in the Engineering. Each option consists of these components:
- ID: Custom ID
- Text: Display text
- Value: Value that can be passed on later within the application.
- Category (version 1.12.744): An optional category of the value, which is displayed in the DropDown of the control.
Further, complex data are supported by using Binding for this parameter.
- Arrays can be used directly. In this way, a string array or number array can also be linked.
- Objects are supported as a key-value list. The name of the property is interpreted as display text, the value is interpreted as a value.
Schema (version 1.8): tchmi:framework#/definitions/ListItemList
Schema (version 1.12): tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiCombobox.ListItemList
Origin: Combobox
See also
Attribute getter: getSrcData
Attribute setter: setSrcData
Available from 1.8 |