Microsoft SDK for Java

Control.setParent

Sets the parent for this control.

Syntax

public final void setParent( Control value )

Parameters

value

A Control object that represents the control you want to be the parent of this control. Setting this parameter to null removes this control from the child list of its current parent.

See Also   getParent

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