If the Pmg object is part of another Pmg object (compound item), then it's parent is returned. If the Pmg object is topmost item (placed on the panel desktop), then returns Pmg object (that represents panel) is returned. Pmg object that represents panel is returns the value null for JavaScript or Nothing pro VBScript. Nothing value can be tested by VBScript Is operator.
This property is also functional in Web panels.
var oItem = pMe.Items("/Pane0/Txt0");
var oParent = oItem.Parent;