EnumDataSymbol

Data for the options menu in the form of an enumeration-type symbol. The fields of the enumeration are displayed in the combo box if they are described in the schema. The values correspond to the values in the enumeration. The current enumeration value of the symbol is selected automatically.

If a new value is chosen in the combo box, this is also transferred to the symbol.

If the value of the symbol is changed, this value is also selected in the combo box.

If a valid value is assigned to this attribute, the SrcData attribute is ignored as long as this value is assigned.

Schema (version 1.12): tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiCombobox.EnumDataSymbol

Attribute getter

public getEnumDataSymbol(): TcHmi.Symbol<any[]> | undefined | null;

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

TcHmi.Symbol<any[]>, undefined, null

The current value of the attribute.

Attribute setter

public setEnumDataSymbol(valueNew: TcHmi.Symbol<any[]> | null): void;

Parameter

Name

Type

Description

valueNew

TcHmi.Symbol<any[]>, null

The new value of the attribute. If null is passed, the internal default value is used.

Return value

Type

Description

void

No return value.

EnumDataSymbol 1:

Available since version 1.12.744.2