You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OliverF edited this page Feb 25, 2014
·
1 revision
Returns the parent of the control.
Syntax
control control:GetParent()
Returns
control
Parent of control
Example
localbutton=RSAS.GUI.Control("button", "myButtonID")
locallabel=RSAS.GUI.Control("label", "myLabelID")
label:SetParent(button) --add label to button as a childlocalparent=label:GetParent() --returns previous button