The control is automatically registered in the Windows Registry during installation of SftTabs/OCX. Please see "Distributing SftTabs/OCX" for information on how to ship the control with your application.
The SftTabs/OCX control must be added to the Toolbox before it can be used in a project. The Toolbox normally displays the standard Visual Basic controls and any other ActiveX controls that have been added previously.
The control is added to the Toolbox using the Project, Components... menu command, which displays the following dialog:
Select the control "SftTabs/OCX 7.0 Tab Control" by placing a check mark next to it and click OK. This adds the control to the Toolbox. If you don't see the control in the list, make sure Selected Items Only is not checked. If an error message is displayed once you click Apply or OK, the product SftTabs/OCX is not correctly installed or the control may have been unregistered accidentally. Quit Visual Basic and use the entry Maintenance, Register SftTabs OCX in Windows Registry in the SftTabs OCX 7.0 program group to register the control. Restart Visual Basic and try to add the control to the Toolbox again.
Now the control can be added to a form by clicking on the SftTabs button of the Toolbox and drawing the control on the form.
Once the tab control has been added to a form, all its properties, including the tabs, can be defined at design-time. Right-click on the control and select the Properties... entry of the popup menu. This displays the Property Dialog for the control.
Controls are added to a tab page by drawing them inside the tab control while the tab is the active tab. Click on another tab at design-time to work on its page. The controls of a tab page are shown when its tab becomes the active tab and hidden otherwise, at design-time and at run-time. See "Tabs and Associated Controls" for more information.
You can run the application now and it displays a tab control with four tabs.
You may want to change the Style property to choose a suitable tab control look, or use the QuickSetup page of the Property Dialog.
This control has many properties and methods which you can use. Please take a moment to familiarize yourself with the objects offered by the SftTabs/OCX control (see "Object Hierarchy"). Each object represents a specific area of the control and can be fully customized. Also make sure to run the demo which is included with this product and take a look at the included samples.