SetParent
From LoTROInterface Wiki
API Reference > Turbine.UI.Control.SetParent()
Sets the parent of the control.
Syntax
| Lua | |
|---|---|
| function Control:SetParent(value); | |
Parameters
value
Type: Control
The desired parent. If this is nil, the control will be unparented.
Remarks
Changes the parent of a control. This will remove it from its previous parent and add it to the new one if it is not nil.