Microsoft SDK for Java

Control.getParent

Retrieves the parent of this control.

Syntax

public final Control getParent()

Return Value

Returns a Control object that represents the parent control that contains this control. The parent for a control is not necessarily the form that contains it. To retrieve the form that contains a control, use the getForm method.

See Also   setParent

© 1999 Microsoft Corporation. All rights reserved. Terms of use.