addChild
[ Function ]
public addChild(co: TcHmi.Controls.System.baseTcHmiControl, pos: number | null): void;
Adds a child control to this control. This only affects the purely logical relationship. The child control is not added in the DOM and is therefore not automatically visible.
Parameter
Name | Type | Description |
---|---|---|
co | Control to be added. | |
pos | Sets the new position within the child list. If this is null or negative, the new child is added to the end. |
Return value
Type | Description |
---|---|
void | No return value. |
See also
Origin: TcHmiContainerControl
Available from 1.8 |