GetParent

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

Returns

Returns a reference to the parent of objectname.

Usage

Inherited from PowerObject. For information, see GetParent in the PowerScript Reference.