TabControl.add

Overview | Methods | This Package | All Packages

TabControl.add

Adds a tabbed page to this tab control.

Syntax

public void add( Control control )

Parameters

control

A Control object that represents the tabbed page to be added. This parameter must be a TabPage object.

Exceptions

WFCException thrown if the specified control is not a TabPage object.

Remarks

The new page becomes the last page in the tab control. If the added tabbed page 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