Set o = oItem.Parent
If the graphic item is part of another graphic item (compound item), then the reference to it's parent is returned. If the graphic item is topmost item (placed on the panel desktop), then the reference to graphic item representing panel is returned. Graphic item representing panel is returns the value Nothing. Nothing value can be tested by VBScript Is operator.
This property is also functional for Web panels.