AddControl
Previous  Next

Adds an existing control to a page in the TabControl object.
Syntax: AddControl (ControlName As Control, PageIndex As Int32, Left As Int32, Top As Int32)

Note: The first page index is 0.
Example:
tbc.AddControl("Button1",0,20,20)