destroy

[ Function ]

public destroy(): void;

This function is called by the system when the control is definitively destroyed. All resources that are needed at runtime should be released here again.

If a control developer has embedded foreign controls within a CustomControl (see also TcHmi.ControlFactory), the destroy function of the child controls must be called in the CustomControl function.

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

void

No return value.

See also

Origin: TcHmiControl

destroy 1:

Available from 1.8