Obtains the parent of the specified object.

PowerObject objectname.GetParent ( )
Argument  | 
Description  | 
|---|---|
objectname  | 
A control in a window or user object or an item on a menu for which you want the parent object  | 
Returns a reference to the parent of objectname.
Inherited from PowerObject. For information, see GetParent in the PowerScript Reference.