| 
 | 
 | 
 | 
| 
        | SetTab Method, SftTabs Class | 
Places a control on a tab page. To be used by designers only in conjunction with SftTabs/NET.
Syntax SftTabs Class (Softelvdm.SftTabsNET)
| VB | Public Sub SetTab( _ | 
| C# | public void SetTab(  | 
| C++ | public: void SetTab(  | 
control
The Control to be placed on the specified tab as an associated control.
index
The zero-based index of the tab in the tab collection.
Comments
The SetTab method places a control on a tab page. To be used by designers only in conjunction with SftTabs/NET.
Given a control, it assigns the control to the tab described by its zero-based index. The control becomes an associated control of the specified tab. The specified tab index must be a valid index. A tab page can only host one single associated control. If multiple controls need to be hosted by one tab, a SftTabsPanel (or Panel) control can be added instead as an associated control. The Panel control can then in turn host a number of child controls.
The specified control must be a child control of the tab control.