getType

[ Function ]

public getType(): string;

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

getType 1:

In version 1.8 and 1.10 a standard button returned tchmi-button as result whereas from version 1.12 on 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

getType 2:

Available from 1.8