Control.add

Overview | Methods | Fields | This Package | All Packages

Control.add

Adds a child control to this control.

Syntax

public void add( Control control )

Parameters

control

A Control object that represents the child control to be added.

Exceptions

WFCException thrown if the specified control is a top-level control or if adding the new control as a child would result in a circular control reference.

Remarks

The new child control becomes the last control in the child control list. If the added child control is already a child of another control, it is removed as a child of the first control before being added as a child of this control.

See Also   remove, setParent