Name
Menu.AddHead -- add detached object as first family child (V1.2)
Synopsis
mui.DoMethod(id, "AddHead", obj)
Function
This method can be used to add the detached object specified by "obj" to the family object specified by "id". The detached object will be added as the family's first child. After this method returns the specified object will change its state from detached to attached. That is why you must no longer use functions that expect a detached object with this object now.

Detached MUI objects can be created either by calling the mui.CreateObject() function or by explicitly detaching them from their parent by using the Menu.Remove method.

Inputs
id
id of the family object
obj
id of the object to attach

Show TOC