Description
Obtains the parent of the specified object.
Applies to
| 
                               DataWindow type  | 
                           
                               Method applies to  | 
                        
|---|---|
| 
                               PowerBuilder  | 
                           
                               DataWindow control, DataWindowChild object, DataStore object  | 
                        
Syntax
PowerBuilder
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  | 
                        
Return value
Returns a reference to the parent of objectname.
Usage
Inherited from PowerObject. For information, see the section called “GetParent” in PowerScript Reference.


