HomeSign in to retrieve your license keys and product download information.
 

 

  Products     SftTabs/OCX 6.0     New Features     Free Trial     Support     Purchase     Web-based help file (loads quickly but is less complete than the product's online help file)
 
 

Frequently Asked Questions

Q:  Can I hide the built-in scroll buttons and use my own buttons instead, but still have a scrollable tab control?

Sure!  You can accomplish this by setting the SftTabsScrolling.Style property to scrollSftTabsHide (5).  This will hide the built-in scroll buttons.  You can now supply your own buttons on the form (or how about our SftButton/OCX control?).  In the event handlers of your own buttons, you can use the Scrolling.Scroll method to scroll left/right (or up/down). 

The Scrolling.LeftButton and Scrolling.RightButton properties can be used to keep your buttons enabled and disabled as needed.

Q:  Can I add controls to a tab page dynamically?

Adding controls dynamically is easily done. However, individual tab pages don't each have their own container. Instead, all new objects are added to SftTabs as the container. Any controls added dynamically become part of the tab page that is active at that time. The tab page can be changed using the Current property.

For a simple sample, create a new VB project. On a blank form, add a SftTabs tab control named SftTabs and a button named Command1. Copy the following code:

Dim ButtonCount As Integer

Private Sub Command1_Click()
    Dim cmdObject As CommandButton
    ButtonCount = ButtonCount + 1
    Set cmdObject = Form1.Controls.Add("VB.CommandButton", _
"Button" & ButtonCount)     Set cmdObject.Container = SftTabs1     cmdObject.Left = 500 * Count     cmdObject.Top = 500 * Count     cmdObject.Visible = True     cmdObject.ZOrder 0 End Sub

Each time the button (Command1) is clicked, a blank button control is added to the current tab page.

Home

 

Product Info

Overview

New Features

Web Help

Support

 

30-Day Free Trial

 

Purchase Now

 

Customer Info

My Account Login Required

License Keys Login Required

Download Products Login Required

Frequently Asked Questions