getType

[ Function ]

public getType(): string;

This function returns the currently set value for the Type attribute.

Note: In versions 1.8 and 1.10, a standard button returned tchmi-button as a result, whereas from version 1.12, the full qualified name TcHmi.Controls.Beckhoff.TcHmiButton is returned. If you check for the type in your own source code, you may have to adapt it to the new format.

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

string

The current value of the attribute.

See also

This attribute is read-only, so it has no setter.

Origin: TcHmiControl

Note: Available from version 1.8