up

Return parent of object

Syntax

parentObject = thisObject.up

Description

The up method returns a handle to the parent of this object.

Arguments

thisObject

Object for which to return parent (containing) object

Returns

parentObject

Object containing thisObject

Examples

Assume that a chart has two states, A and B, and state A contains state B. If the object sB represents the state B, then the command

p = sB.up

returns a handle p to the parent of B, which is state A.

Introduced before R2006a